aboutsummaryrefslogtreecommitdiffstats
path: root/.htaccess
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2024-09-16 09:58:54 +0200
committerJoas Schilling <coding@schilljs.com>2024-09-16 09:59:21 +0200
commitc7c031dbd273b283f41c1127bf27c8677d985842 (patch)
tree7df8252e30fabc3a88858511f24d3ba153941d36 /.htaccess
parent54b162f10e436ad9a80c6fbf3ea97c50b5930826 (diff)
downloadnextcloud-server-c7c031dbd273b283f41c1127bf27c8677d985842.tar.gz
nextcloud-server-c7c031dbd273b283f41c1127bf27c8677d985842.zip
fix(a11y): Add OTF font loading checkbugfix/noid/fix-otf-loading
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to '.htaccess')
-rw-r--r--.htaccess6
1 files changed, 3 insertions, 3 deletions
diff --git a/.htaccess b/.htaccess
index f9908fe0b69..1406448db0a 100644
--- a/.htaccess
+++ b/.htaccess
@@ -49,8 +49,8 @@
</Else>
</FilesMatch>
- # Let browsers cache WOFF files for a week
- <FilesMatch "\.woff2?$">
+ # Let browsers cache OTF and WOFF files for a week
+ <FilesMatch "\.(otf|woff2?)$">
Header set Cache-Control "max-age=604800"
</FilesMatch>
</IfModule>
@@ -106,7 +106,7 @@
SetEnvIf Transfer-Encoding "chunked" proxy-sendcl=1
</IfModule>
-# Apache disabled the sending of the server-side content-length header
+# Apache disabled the sending of the server-side content-length header
# in their 2.4.59 patch updated which breaks some use-cases in Nextcloud.
# Setting ap_trust_cgilike_cl allows to bring back the usual behaviour.
# See https://bz.apache.org/bugzilla/show_bug.cgi?id=68973