aboutsummaryrefslogtreecommitdiff
path: root/public/js/upload.js
diff options
context:
space:
mode:
authorPitu <[email protected]>2017-01-18 04:51:42 -0300
committerPitu <[email protected]>2017-01-18 04:51:42 -0300
commitde130602f93f05360a3838d93a0f9d1cbb470153 (patch)
treea77f54c0a5b4dc10a9a48690a06b804a2a9398ad /public/js/upload.js
parentAdded browsing galleries from dashboard (diff)
downloadhost.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.js2
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);