diff options
| author | pitu <[email protected]> | 2017-01-14 19:40:50 -0300 |
|---|---|---|
| committer | pitu <[email protected]> | 2017-01-14 19:40:50 -0300 |
| commit | d0b5d4a2dfd15d484bb715415568ac21ad628f1f (patch) | |
| tree | b93b39f1f0f90c88dab695419a36e133d8b6d2f7 | |
| parent | People should stop bugging me about this now (diff) | |
| download | host.fuwn.me-d0b5d4a2dfd15d484bb715415568ac21ad628f1f.tar.xz host.fuwn.me-d0b5d4a2dfd15d484bb715415568ac21ad628f1f.zip | |
Forgot to send token on upload
| -rw-r--r-- | public/js/upload.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/public/js/upload.js b/public/js/upload.js index 636627e..305c40e 100644 --- a/public/js/upload.js +++ b/public/js/upload.js @@ -29,7 +29,10 @@ window.onload = function () { previewTemplate: previewTemplate, createImageThumbnails: false, maxFiles: 1000, - autoProcessQueue: true + autoProcessQueue: true, + headers: { + 'auth': localStorage.token + } }); // Update the total progress bar |