mirror of
https://github.com/sigoden/dufs.git
synced 2026-04-09 17:13:02 +03:00
fix: unzip override existed file in uploadonly mode
This commit is contained in:
@@ -27,7 +27,6 @@ class Uploader {
|
||||
const ajax = new XMLHttpRequest();
|
||||
ajax.upload.addEventListener("progress", e => this.progress(e), false);
|
||||
ajax.addEventListener("readystatechange", () => {
|
||||
console.log(ajax.readyState, ajax.status)
|
||||
if(ajax.readyState === 4) {
|
||||
if (ajax.status == 200) {
|
||||
this.complete();
|
||||
|
||||
Reference in New Issue
Block a user