aboutsummaryrefslogtreecommitdiff
path: root/public/js/panel.js
diff options
context:
space:
mode:
authorkanadeko <[email protected]>2017-01-17 16:54:25 -0300
committerkanadeko <[email protected]>2017-01-17 16:54:25 -0300
commita114d298d0243dd7f7be0b9728f850550628cfd9 (patch)
treece7f6498744e75a51b24b952dad337486fcf7786 /public/js/panel.js
parentAdded 500 error page (diff)
downloadhost.fuwn.me-a114d298d0243dd7f7be0b9728f850550628cfd9.tar.xz
host.fuwn.me-a114d298d0243dd7f7be0b9728f850550628cfd9.zip
Rewrote token handling and upload.js
Diffstat (limited to 'public/js/panel.js')
-rw-r--r--public/js/panel.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/public/js/panel.js b/public/js/panel.js
index cff5609..7e3e383 100644
--- a/public/js/panel.js
+++ b/public/js/panel.js
@@ -34,7 +34,7 @@ window.onload = function () {
// xhr.responseText
}
}
- xhr.open('GET', '/api/verify', true);
+ xhr.open('GET', '/api/token/verify', true);
xhr.setRequestHeader('type', 'admin');
xhr.setRequestHeader('token', document.getElementById('token').value);
xhr.send(null);