diff --git a/src/ui/static/js/plugins.js b/src/ui/static/js/plugins.js index 23cdb58b5..3f50d62ac 100644 --- a/src/ui/static/js/plugins.js +++ b/src/ui/static/js/plugins.js @@ -319,7 +319,6 @@ class Upload { let xhr = new XMLHttpRequest(); xhr.open("POST", "plugins/upload"); - xhr.setRequestHeader("Content-Type", `application/octet-stream`); let fileSize; xhr.upload.addEventListener("progress", ({ loaded, total }) => { diff --git a/src/ui/templates/bans.html b/src/ui/templates/bans.html index 341acad3f..1278506d7 100644 --- a/src/ui/templates/bans.html +++ b/src/ui/templates/bans.html @@ -170,11 +170,11 @@
+ class=" {% if bans|length == 0 %}hidden{% endif %} w-full overflow-hidden grid grid-cols-12 col-span-12 p-4 relative break-words bg-white shadow-xl dark:bg-slate-850 dark:shadow-dark-xl rounded-2xl bg-clip-border">
BANS LIST
-
+
{% set bans_headers = [ diff --git a/src/ui/templates/reports.html b/src/ui/templates/reports.html index 2eef33e72..82393fa90 100644 --- a/src/ui/templates/reports.html +++ b/src/ui/templates/reports.html @@ -177,11 +177,11 @@
+ class="w-full overflow-hidden grid grid-cols-12 col-span-12 p-4 relative break-words bg-white shadow-xl dark:bg-slate-850 dark:shadow-dark-xl rounded-2xl bg-clip-border">
REPORTING
-
+
{% set reports_header = [