summaryrefslogtreecommitdiffstats
path: root/core/routes.php
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2017-03-22 14:47:07 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2017-03-24 10:58:10 +0100
commit8e89ad21a2dfa8f4f147225ae35cab83db4de2f9 (patch)
tree5c991eec18452d8da40ddedd6c8e372b77428223 /core/routes.php
parent35d3a082f2a7256c104894faf6820a1410a0a38e (diff)
downloadnextcloud-server-8e89ad21a2dfa8f4f147225ae35cab83db4de2f9.tar.gz
nextcloud-server-8e89ad21a2dfa8f4f147225ae35cab83db4de2f9.zip
[PoC] JS Combiner
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'core/routes.php')
-rw-r--r--core/routes.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/routes.php b/core/routes.php
index 5d61d58e037..d3356404fd5 100644
--- a/core/routes.php
+++ b/core/routes.php
@@ -56,6 +56,7 @@ $application->registerRoutes($this, [
['name' => 'Preview#getPreview', 'url' => '/core/preview', 'verb' => 'GET'],
['name' => 'Preview#getPreview', 'url' => '/core/preview.png', 'verb' => 'GET'],
['name' => 'Css#getCss', 'url' => '/css/{appName}/{fileName}', 'verb' => 'GET'],
+ ['name' => 'Js#getJs', 'url' => '/js/{appName}/{fileName}', 'verb' => 'GET'],
],
'ocs' => [
['root' => '/cloud', 'name' => 'OCS#getCapabilities', 'url' => '/capabilities', 'verb' => 'GET'],