diff options
| author | kanadeko <[email protected]> | 2017-01-17 16:54:25 -0300 |
|---|---|---|
| committer | kanadeko <[email protected]> | 2017-01-17 16:54:25 -0300 |
| commit | a114d298d0243dd7f7be0b9728f850550628cfd9 (patch) | |
| tree | ce7f6498744e75a51b24b952dad337486fcf7786 /public/js/panel.js | |
| parent | Added 500 error page (diff) | |
| download | host.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.js | 2 |
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); |