From: Ben Harris Date: Sat, 18 Oct 2025 23:15:27 +0000 (+0100) Subject: Add JavaScript and WASM to compressible file types in .htaccess X-Git-Tag: bedstead-3.261~27 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~bjharris/git?a=commitdiff_plain;h=2d27cef99878eaef9d48a05d0d9047a1b5a2269f;p=bedstead.git Add JavaScript and WASM to compressible file types in .htaccess --- diff --git a/.htaccess b/.htaccess index 3200afd..d2a504d 100644 --- a/.htaccess +++ b/.htaccess @@ -5,6 +5,7 @@ AddType font/otf;outlines=CFF .otf ForceType text/plain AddOutputFilterByType DEFLATE application/xhtml+xml text/css font/otf \ + application/javascript application/wasm \ text/plain text/x-csrc application/postscript Header set Content-Security-Policy "form-action 'none';\ default-src 'none'; connect-src 'self'; font-src 'self'; img-src 'self';\