summaryrefslogtreecommitdiff
path: root/app/client/api
diff options
context:
space:
mode:
Diffstat (limited to 'app/client/api')
-rw-r--r--app/client/api/crud.upload.js2
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)