diff options
author | John Molakvoæ <skjnldsv@protonmail.com> | 2023-03-17 16:58:24 +0100 |
---|---|---|
committer | John Molakvoæ <skjnldsv@protonmail.com> | 2023-04-06 14:49:30 +0200 |
commit | b761039cf1946cb64898b9117d1b15dd89080451 (patch) | |
tree | 27ef66889525e0fbe0f295d1bdc96fb3d8ac479c /apps/files/appinfo/routes.php | |
parent | 2ff1c00f556633c9c36a9328d4eb77eba2dd25e7 (diff) | |
download | nextcloud-server-b761039cf1946cb64898b9117d1b15dd89080451.tar.gz nextcloud-server-b761039cf1946cb64898b9117d1b15dd89080451.zip |
perf(files): fetch previews faster and cache properly
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/files/appinfo/routes.php')
-rw-r--r-- | apps/files/appinfo/routes.php | 5 |
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', |