summaryrefslogtreecommitdiff
path: root/frontend
diff options
context:
space:
mode:
authoraltaf-creator <dev@altafcreator.com>2026-01-11 22:25:19 +0800
committeraltaf-creator <dev@altafcreator.com>2026-01-11 22:25:19 +0800
commite768428312a9cd0994b1c7237e9e6bd636a936b8 (patch)
tree49e46c2a85a2889efbb9ce1b1175741c0b494787 /frontend
parentda08468cda5749a8b168235853523ebb85daab6a (diff)
useless commit msg
Diffstat (limited to 'frontend')
-rw-r--r--frontend/start.js1
-rw-r--r--frontend/start/index.html3
2 files changed, 3 insertions, 1 deletions
diff --git a/frontend/start.js b/frontend/start.js
index b9c2689..82e23aa 100644
--- a/frontend/start.js
+++ b/frontend/start.js
@@ -2,7 +2,6 @@ const startbtn = document.getElementById("startbtn");
const urlParams = new URLSearchParams(window.location.search);
data.machine_id = urlParams.get('machine');
-if (data.machine_id) rememberUrl();
console.log(urlParams);
startUpdateMachines();
diff --git a/frontend/start/index.html b/frontend/start/index.html
index 3b43e40..c52fce1 100644
--- a/frontend/start/index.html
+++ b/frontend/start/index.html
@@ -96,5 +96,8 @@
<script src="/permissionrequest.js"></script>
<script src="/popup.js"></script>
<script src="/ios_popup.js"></script>
+ <script>
+ rememberUrl();
+ </script>
</body>
</html>