aboutsummaryrefslogtreecommitdiff
path: root/static/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'static/index.js')
-rw-r--r--static/index.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/static/index.js b/static/index.js
index d5d5c60..28c6228 100644
--- a/static/index.js
+++ b/static/index.js
@@ -1,8 +1,9 @@
import * as sfw from 'sfw';
-
import * as api from './api/index.js';
-
import { literal as m } from './month.js';
+import * as service_worker from './service-worker/index.js';
+
+//service_worker.register();
import LoginView from './pages/login/index.js';
import MainView from './pages/main/index.js';
@@ -60,6 +61,7 @@ const settings = SettingsView.new({
onlogout: () => {
login.show();
main.active_view = image_viewer;
+ settings.profile = null;
},
});