File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 26
26
</FilesMatch >
27
27
28
28
# Let browsers cache WOFF files for a week
29
- <FilesMatch "\.woff $" >
29
+ <FilesMatch "\.woff2? $" >
30
30
Header set Cache-Control "max-age=604800 "
31
31
</FilesMatch >
32
32
</IfModule >
Original file line number Diff line number Diff line change @@ -504,7 +504,7 @@ public static function updateHtaccess() {
504
504
$ content .= "\n Options -MultiViews " ;
505
505
$ content .= "\n RewriteRule ^core/js/oc.js$ index.php [PT,E=PATH_INFO:$1] " ;
506
506
$ content .= "\n RewriteRule ^core/preview.png$ index.php [PT,E=PATH_INFO:$1] " ;
507
- $ content .= "\n RewriteCond %{REQUEST_FILENAME} ! \\.(css|js|svg|gif|png|html|ttf|woff |ico|jpg|jpeg)$ " ;
507
+ $ content .= "\n RewriteCond %{REQUEST_FILENAME} ! \\.(css|js|svg|gif|png|html|ttf|woff2? |ico|jpg|jpeg)$ " ;
508
508
$ content .= "\n RewriteCond %{REQUEST_FILENAME} !core/img/favicon.ico$ " ;
509
509
$ content .= "\n RewriteCond %{REQUEST_FILENAME} !core/img/manifest.json$ " ;
510
510
$ content .= "\n RewriteCond %{REQUEST_FILENAME} !/remote.php " ;
You can’t perform that action at this time.
0 commit comments