Remove redundant CSP header

Signed-off-by: Joe Ma <rikkaneko23@gmail.com>
This commit is contained in:
Joe Ma 2022-06-02 12:02:20 +08:00
parent 28330082a5
commit 29a6da681e
No known key found for this signature in database
GPG key ID: 7A0ECF5F5EDC587F
2 changed files with 5 additions and 4 deletions

View file

@ -42,7 +42,6 @@
size = approx.toFixed(3) + " " + units[i];
}
document.getElementById("file_size").innerHTML = size;
document.getElementById("file_title").innerText = `"${this.files[0]?.name ?? ""}"`
}
document.getElementById("upload_file").addEventListener("change", update_file_size, false);