diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-05-29 00:15:13 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-05-29 00:15:13 +0200 |
| commit | a77ddf4bf8ad8aeb91e2109a7c4a92149928b57b (patch) | |
| tree | bed9a31e1febb3824d4d273bd4821ab28449f82a /app/api/index.js | |
| parent | bdab187f3d385a6b96c24135679af468d1e7892b (diff) | |
adding migrations!!
Diffstat (limited to 'app/api/index.js')
| -rw-r--r-- | app/api/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/api/index.js b/app/api/index.js index 7562db7..9ee943f 100644 --- a/app/api/index.js +++ b/app/api/index.js @@ -10,7 +10,7 @@ folder.upload = (folder_id, files) => { for (var i = 0; i < files.length; i++) { data.append('file', files[i]) } - return fetch('/folders/' + folder_id, postBody(data)) + return fetch('/api/folders/' + folder_id, postBody(data)) .then(req => req.json()) .catch(error) } |
