cleanup var names

This commit is contained in:
Pierre Dubouilh
2018-09-12 19:29:32 +02:00
parent ba42b00304
commit 496490ba29
5 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -73,7 +73,7 @@ function postFile (file, path) {
path = decodeURI(location.pathname).slice(0, -1) + path
xhr.open('POST', window.location.origin + '/post')
xhr.setRequestHeader("bossa-path", encodeURIComponent(path))
xhr.setRequestHeader("gossa-path", encodeURIComponent(path))
xhr.upload.id = newBar(path)
const formData = new window.FormData()