summaryrefslogtreecommitdiffstats
path: root/apps/accessibility/appinfo
diff options
context:
space:
mode:
Diffstat (limited to 'apps/accessibility/appinfo')
-rw-r--r--apps/accessibility/appinfo/app.php3
-rw-r--r--apps/accessibility/appinfo/routes.php5
2 files changed, 5 insertions, 3 deletions
diff --git a/apps/accessibility/appinfo/app.php b/apps/accessibility/appinfo/app.php
index 7f8e3c3262b..96621a16829 100644
--- a/apps/accessibility/appinfo/app.php
+++ b/apps/accessibility/appinfo/app.php
@@ -27,4 +27,5 @@ $app = new \OCA\Accessibility\AppInfo\Application();
// Separate from the constructor since the route are not initialized before that
// 1. create the app
// 2. generate css route and inject
-$app->injectCss(); \ No newline at end of file
+$app->injectCss();
+$app->injectJavascript(); \ No newline at end of file
diff --git a/apps/accessibility/appinfo/routes.php b/apps/accessibility/appinfo/routes.php
index ebb845e06a3..52e74918216 100644
--- a/apps/accessibility/appinfo/routes.php
+++ b/apps/accessibility/appinfo/routes.php
@@ -22,8 +22,9 @@
*/
return [
- 'routes' => [
- ['name' => 'accessibility#getCss', 'url' => '/css/user-{md5}.css', 'verb' => 'GET'],
+ 'routes' => [
+ ['name' => 'accessibility#getCss', 'url' => '/css/user-{md5}.css', 'verb' => 'GET'],
+ ['name' => 'accessibility#getJavascript', 'url' => '/js/accessibility', 'verb' => 'GET'],
],
'ocs' => [
[