diff options
author | Devaev Maxim <[email protected]> | 2019-04-27 01:58:21 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2019-04-27 01:58:21 +0300 |
commit | c40f13e2d79c2ed23502e3c49f9b1e8c7d23f1c2 (patch) | |
tree | 0f0e006ebbb8eb0ea7b1e25dab82af908727096f /web/share/js/login | |
parent | a89612e5ac6ae03089500768bed9ef049ce75c4b (diff) |
url refactoring
Diffstat (limited to 'web/share/js/login')
-rw-r--r-- | web/share/js/login/main.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/share/js/login/main.js b/web/share/js/login/main.js index bf185bf0..cd0746fc 100644 --- a/web/share/js/login/main.js +++ b/web/share/js/login/main.js @@ -45,7 +45,7 @@ function __login() { } else { let passwd = $("passwd-input").value; let body = `user=${encodeURIComponent(user)}&passwd=${encodeURIComponent(passwd)}`; - let http = tools.makeRequest("POST", "/kvmd/auth/login", function() { + let http = tools.makeRequest("POST", "/api/auth/login", function() { if (http.readyState === 4) { if (http.status === 200) { document.location.href = "/"; |