aboutsummaryrefslogtreecommitdiff
path: root/static/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'static/index.js')
-rw-r--r--static/index.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/static/index.js b/static/index.js
index 74386a1..0dbb2db 100644
--- a/static/index.js
+++ b/static/index.js
@@ -12,6 +12,8 @@ import SettingsView from './pages/settings/index.js';
import ShuffleView from './pages/shuffle/index.js';
import UploadBar from './widgets/upload-bar/index.js';
+await service_worker.register()
+
sfw.theme.add_css(await sfw.css(import.meta.url, './index.css'));
const image_viewer = ImageViewer.new();