Add slash

This commit is contained in:
Reimar 2026-11-22 15:53:11 +01:00
parent 8029e220c3
commit 903dc3d288
Signed by: Reimar
GPG Key ID: 93549FA07F0AE268

View File

@ -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;