From 903dc3d2884751a7fa6aedebe2e66113c556fd14 Mon Sep 17 00:00:00 2001 From: Reimar Date: Sun, 22 Nov 2026 15:53:11 +0100 Subject: [PATCH] Add slash --- script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script.js b/script.js index d5bcfe6..71323fc 100644 --- a/script.js +++ b/script.js @@ -213,7 +213,7 @@ function createLink(type) { else input.type = "stopwatch"; // Create URL - var url = location.protocol + "//" + location.host + "/" + type + "?type=" + input.type + "&name=" + encodeURIComponent(input.name) + "&autostart=" + input.autostart; + var url = location.protocol + "//" + location.host + "/" + type + "/?type=" + input.type + "&name=" + encodeURIComponent(input.name) + "&autostart=" + input.autostart; if (input.type === "timer") url += "&h=" + input.hours + "&m=" + input.minutes + "&s=" + input.seconds + "&beep=" + input.beep; return url;