From bfa238c056f31f36c00faad1c5995cbb8af3bd26 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Sun, 26 Jan 2025 14:04:11 +0200 Subject: feat!: Rework all views to be used with the router --- views/authenticate.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'views/authenticate.js') diff --git a/views/authenticate.js b/views/authenticate.js index 5e1371a..8b158ce 100644 --- a/views/authenticate.js +++ b/views/authenticate.js @@ -8,7 +8,7 @@ function requestAuthentication() { authentication_response = (request.status == 200) ? request.responseText : ""; } - request.open("POST", "/profile/authenticate.php", true); + request.open("POST", "/authenticate", true); request.setRequestHeader("Authorization", sessionStorage.getItem("token")); request.send(null); } -- cgit v1.2.3