add alternative javascrip mimetype, just in case

Volkor 2023-06-26 06:53:59 +10:00
parent dfdc5e14a2
commit fa277d7b4a
Signed by: Volkor
SSH Key Fingerprint: SHA256:taX3XcC6grYv7+eTzBsIUNCVFgMzh7gkVgxliSh69ek
1 changed files with 1 additions and 1 deletions

View File

@ -62,4 +62,4 @@ banned_mimetype = ["application/x-msdownload", "application/x-msi", "application
# Files that should only ever be rendered as plaintext.
# I REALLY recommend not removing these.
unsafe_mimetype = ["text/html", "text/javascript", "text/css", "application/x-httpd-php", "application/xhtml+xml"]
unsafe_mimetype = ["text/html", "text/javascript", "application/javascript", "text/css", "application/x-httpd-php", "application/xhtml+xml"]