mirror of
https://github.com/gmemstr/sliproad.git
synced 2024-09-19 16:11:11 +01:00
Fix incorrect variable name in upload function.
This commit is contained in:
parent
a3d421ed3d
commit
b07c20d43a
|
@ -25,7 +25,7 @@ window.addEventListener("drop",function(e){
|
|||
|
||||
|
||||
var upload = (file) => {
|
||||
var clkepath = document.getElementById("path").value;
|
||||
var path = document.getElementById("path").value;
|
||||
var formData = new FormData();
|
||||
formData.append("path", path);
|
||||
formData.append("file", file);
|
||||
|
|
Loading…
Reference in a new issue