diff --git a/.gitignore b/.gitignore
index e0a7745..137d678 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,6 +4,7 @@ node_modules
signature.bin
*.pem
verified.txt
+myenv
*~
# local env files
diff --git a/additional-scripts.js b/additional-scripts.js
new file mode 100644
index 0000000..5d1d8fe
--- /dev/null
+++ b/additional-scripts.js
@@ -0,0 +1,30 @@
+
+
+self.addEventListener("push", function (event) {
+ let payload;
+ if (event.data) {
+ payload = JSON.parse(event.data.text());
+ }
+
+ const title = payload ? payload.title : "Custom Title";
+ const options = {
+ body: payload ? payload.body : "Custom body text",
+ icon: payload ? payload.icon : "icon.png",
+ badge: payload ? payload.badge : "badge.png",
+ };
+
+ event.waitUntil(self.registration.showNotification(title, options));
+});
+
+
+self.addEventListener('message', function(event) {
+ const data = event.data;
+
+ switch (data.command) {
+ case 'account':
+ break;
+
+ default:
+ console.log('Unknown command:', data.command);
+ }
+});
diff --git a/src/App.vue b/src/App.vue
index 8e37ea9..c9ccb21 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -162,17 +162,22 @@