aboutsummaryrefslogtreecommitdiffstats
path: root/.htaccess
diff options
context:
space:
mode:
authorFerdinand Thiessen <opensource@fthiessen.de>2023-06-07 15:19:44 +0200
committerFerdinand Thiessen <opensource@fthiessen.de>2023-06-07 15:19:44 +0200
commite532419b15b7b5a4b4a0be9b2aa725d70320fc56 (patch)
tree09e67684b2798a940540573ff0f3aabb07dd1c00 /.htaccess
parent5bf1fc6535a7f4aef8d315e576b91a283d890015 (diff)
downloadnextcloud-server-e532419b15b7b5a4b4a0be9b2aa725d70320fc56.tar.gz
nextcloud-server-e532419b15b7b5a4b4a0be9b2aa725d70320fc56.zip
fix(apache): Serve `mjs` (module javascript) as static files
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Diffstat (limited to '.htaccess')
-rw-r--r--.htaccess2
1 files changed, 1 insertions, 1 deletions
diff --git a/.htaccess b/.htaccess
index 54fe8eaf3d0..7a8f41886ac 100644
--- a/.htaccess
+++ b/.htaccess
@@ -40,7 +40,7 @@
</IfModule>
# Add cache control for static resources
- <FilesMatch "\.(css|js|svg|gif|png|jpg|ico|wasm|tflite)$">
+ <FilesMatch "\.(css|js|mjs|svg|gif|png|jpg|ico|wasm|tflite)$">
<If "%{QUERY_STRING} =~ /(^|&)v=/">
Header set Cache-Control "max-age=15778463, immutable"
</If>