From 1d5509569188fd69d7de94ea25c7349443b54219 Mon Sep 17 00:00:00 2001 From: Kai Vogelgesang Date: Fri, 17 Apr 2020 03:13:14 +0200 Subject: [PATCH] Make path relative --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index bac4d3a..43276ea 100644 --- a/index.html +++ b/index.html @@ -19,7 +19,7 @@ this is the base site document.getElementById("btn_register").onclick = function (e) { let username = document.getElementById("username").value; - window.location.replace(`/register/${encodeURIComponent(username)}`) + window.location.replace(`register/${encodeURIComponent(username)}`) };