diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-06-06 04:41:26 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-06-06 04:41:26 +0200 |
| commit | 16261518dfcf757e8bcc9d7fbbef25150ad576a3 (patch) | |
| tree | 16d154e308e4f08a3b29abed10ad2bf14b0849f3 /app/client/api | |
| parent | b92b633cf0c2d528e45c04828a9ce1f5679aeaa3 (diff) | |
hitting right upload endpoint
Diffstat (limited to 'app/client/api')
| -rw-r--r-- | app/client/api/crud.upload.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/client/api/crud.upload.js b/app/client/api/crud.upload.js index 6f82d27..a389d4f 100644 --- a/app/client/api/crud.upload.js +++ b/app/client/api/crud.upload.js @@ -10,6 +10,8 @@ export function crud_upload(type, fd, data, dispatch) { } }) + console.log('/api/' + type + '/' + id + '/upload/') + const xhr = new XMLHttpRequest() xhr.upload.addEventListener("progress", uploadProgress, false) xhr.addEventListener("load", uploadComplete, false) |
