Forgot to send token on upload

This commit is contained in:
pitu 2017-01-14 19:40:50 -03:00
parent 6ded8a913c
commit d0b5d4a2df
1 changed files with 4 additions and 1 deletions

View File

@ -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