Spaces:
Paused
Paused
Update static/index.html
Browse files- static/index.html +1 -1
static/index.html
CHANGED
|
@@ -64,7 +64,7 @@
|
|
| 64 |
resultDiv.innerHTML = '';
|
| 65 |
|
| 66 |
const xhr = new XMLHttpRequest();
|
| 67 |
-
xhr.open("POST", "/
|
| 68 |
xhr.responseType = 'blob'; // Ensure the response is treated as a Blob
|
| 69 |
|
| 70 |
xhr.upload.onprogress = function(event) {
|
|
|
|
| 64 |
resultDiv.innerHTML = '';
|
| 65 |
|
| 66 |
const xhr = new XMLHttpRequest();
|
| 67 |
+
xhr.open("POST", "/upload/", true);
|
| 68 |
xhr.responseType = 'blob'; // Ensure the response is treated as a Blob
|
| 69 |
|
| 70 |
xhr.upload.onprogress = function(event) {
|