Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/files_texteditor.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2017-10-05 14:08:27 +0300
committerDaniel Calviño Sánchez <danxuliu@gmail.com>2018-02-09 12:52:31 +0300
commit2aaa1bbdb54f7aade1f43b7e4ec8992e2d8da36b (patch)
tree7bbc60c5aee05b7dd84482bce7c2efe8be26e56d /appinfo
parent44b7cea3a5eab56d22bd3aaf42469debdcc7df49 (diff)
Add endpoint for public editor previews
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'appinfo')
-rw-r--r--appinfo/routes.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/appinfo/routes.php b/appinfo/routes.php
index 633908a..0fe9bbb 100644
--- a/appinfo/routes.php
+++ b/appinfo/routes.php
@@ -31,6 +31,11 @@ return [
'name' => 'FileHandling#save',
'url' => '/ajax/savefile',
'verb' => 'PUT'
+ ],
+ [
+ 'name' => 'PublicFileHandling#load',
+ 'url' => '/public/{token}',
+ 'verb' => 'GET'
]
]
];