diff options
| author | Syndamia <kamen@syndamia.com> | 2025-01-26 14:04:11 +0200 |
|---|---|---|
| committer | Syndamia <kamen@syndamia.com> | 2025-01-26 14:04:11 +0200 |
| commit | bfa238c056f31f36c00faad1c5995cbb8af3bd26 (patch) | |
| tree | e35d6b33fff3e79ae905d7dad699134553a1292d /views/authenticate.js | |
| parent | c36f74386bcbb19c13915fe3796cb757aa7d1845 (diff) | |
| download | nowayforward_human-bfa238c056f31f36c00faad1c5995cbb8af3bd26.tar nowayforward_human-bfa238c056f31f36c00faad1c5995cbb8af3bd26.tar.gz nowayforward_human-bfa238c056f31f36c00faad1c5995cbb8af3bd26.zip | |
feat!: Rework all views to be used with the router
Diffstat (limited to 'views/authenticate.js')
| -rw-r--r-- | views/authenticate.js | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |
