From fa277d7b4a743cb6df6d7ec069c28fea4a81dde7 Mon Sep 17 00:00:00 2001 From: Volkor <me@volkor.me> Date: Mon, 26 Jun 2023 06:53:59 +1000 Subject: [PATCH] add alternative javascrip mimetype, just in case --- config.sample.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.sample.toml b/config.sample.toml index 86b19f8..89fdbfe 100644 --- a/config.sample.toml +++ b/config.sample.toml @@ -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"] \ No newline at end of file +unsafe_mimetype = ["text/html", "text/javascript", "application/javascript", "text/css", "application/x-httpd-php", "application/xhtml+xml"] \ No newline at end of file -- GitLab