aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/appinfo/routes.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files/appinfo/routes.php')
-rw-r--r--apps/files/appinfo/routes.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/files/appinfo/routes.php b/apps/files/appinfo/routes.php
index e4af2367906..a82490f7cae 100644
--- a/apps/files/appinfo/routes.php
+++ b/apps/files/appinfo/routes.php
@@ -134,6 +134,11 @@ $application->registerRoutes(
'verb' => 'GET'
],
[
+ 'name' => 'api#serviceWorker',
+ 'url' => '/preview-service-worker.js',
+ 'verb' => 'GET'
+ ],
+ [
'name' => 'view#index',
'url' => '/{view}',
'verb' => 'GET',