Loading src/utils/JamaClient.js +2 −2 Original line number Diff line number Diff line Loading @@ -52,13 +52,13 @@ class ChunksUploader { "X-Api-Key": this.api_key, "X-file-chunk": (chunkNum + 1) + "/" + this.nb_chunks, "X-file-hash": this.id, "X-file-name": window.btoa(unescape(this.fixedEncodeURIComponent(this.file.name))), "X-file-name": window.btoa(encodeURIComponent(this.file.name)), "X-Project": projectId, //"X-debug-file-name" : this.file.name } } if (path) options.headers['X-origin-dir'] = path options.headers['X-origin-dir'] = window.btoa(encodeURIComponent(path)) return fetch(this.endpoint + 'upload/partial/', options) } Loading Loading
src/utils/JamaClient.js +2 −2 Original line number Diff line number Diff line Loading @@ -52,13 +52,13 @@ class ChunksUploader { "X-Api-Key": this.api_key, "X-file-chunk": (chunkNum + 1) + "/" + this.nb_chunks, "X-file-hash": this.id, "X-file-name": window.btoa(unescape(this.fixedEncodeURIComponent(this.file.name))), "X-file-name": window.btoa(encodeURIComponent(this.file.name)), "X-Project": projectId, //"X-debug-file-name" : this.file.name } } if (path) options.headers['X-origin-dir'] = path options.headers['X-origin-dir'] = window.btoa(encodeURIComponent(path)) return fetch(this.endpoint + 'upload/partial/', options) } Loading