diff options
| author | Pitu <[email protected]> | 2017-01-18 04:51:42 -0300 |
|---|---|---|
| committer | Pitu <[email protected]> | 2017-01-18 04:51:42 -0300 |
| commit | de130602f93f05360a3838d93a0f9d1cbb470153 (patch) | |
| tree | a77f54c0a5b4dc10a9a48690a06b804a2a9398ad /public/js/upload.js | |
| parent | Added browsing galleries from dashboard (diff) | |
| download | host.fuwn.me-de130602f93f05360a3838d93a0f9d1cbb470153.tar.xz host.fuwn.me-de130602f93f05360a3838d93a0f9d1cbb470153.zip | |
Added changing of tokens from the dashboard
Diffstat (limited to 'public/js/upload.js')
| -rw-r--r-- | public/js/upload.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/public/js/upload.js b/public/js/upload.js index 0341ecc..2638ef8 100644 --- a/public/js/upload.js +++ b/public/js/upload.js @@ -58,7 +58,7 @@ upload.verifyToken = function(token, reloadOnError = false){ } } - xhr.open('GET', '/api/token/verify', true); + xhr.open('GET', '/api/tokens/verify', true); xhr.setRequestHeader('type', 'client'); xhr.setRequestHeader('token', token); xhr.send(null); |