summaryrefslogtreecommitdiffstats
path: root/apps/files/src/main.js
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files/src/main.js')
-rw-r--r--apps/files/src/main.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/files/src/main.js b/apps/files/src/main.js
index 56332374051..48b981359ed 100644
--- a/apps/files/src/main.js
+++ b/apps/files/src/main.js
@@ -6,6 +6,7 @@ import Vue from 'vue'
import { createPinia, PiniaVuePlugin } from 'pinia'
import NavigationService from './services/Navigation.ts'
+import registerPreviewServiceWorker from './services/ServiceWorker.js'
import NavigationView from './views/Navigation.vue'
import FilesListView from './views/FilesList.vue'
@@ -57,3 +58,6 @@ FilesList.$mount('#app-content-vue')
// Init legacy files views
processLegacyFilesViews()
+
+// Register preview service worker
+registerPreviewServiceWorker()