From 16c3515d1ad083b3c2c9ec273fe58577aa16e091 Mon Sep 17 00:00:00 2001 From: altaf-creator Date: Mon, 29 Dec 2025 21:24:16 +0800 Subject: backend hopefully full implementation of new push subscription thing --- frontend/main.js | 1 - frontend/permissionrequest.js | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'frontend') diff --git a/frontend/main.js b/frontend/main.js index b8803c0..23da453 100644 --- a/frontend/main.js +++ b/frontend/main.js @@ -2,7 +2,6 @@ const data = { duration: 1, // will be multiplied by 30 machine_id: "", - onesignal_subscription_id: "", } const API_URL = "https://backend.laundryweb.altafcreator.com" diff --git a/frontend/permissionrequest.js b/frontend/permissionrequest.js index f80c567..97258d9 100644 --- a/frontend/permissionrequest.js +++ b/frontend/permissionrequest.js @@ -1,7 +1,7 @@ const notif = document.getElementById("notif-panel"); const notbtn = document.getElementById("notbtn"); -console.log("notbtn") + notbtn.addEventListener("click", () => requestPermission()) async function requestPermission() { -- cgit v1.2.3