diff options
author | Stefan Giehl <stefan@matomo.org> | 2022-04-13 10:48:39 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-13 10:48:39 +0300 |
commit | 1adc3ab6936fd5ff1874368bcc625b25831362ec (patch) | |
tree | 6e3a702a200ceb43c99bef03553ae34783a05f59 /plugins | |
parent | fb27f95d1885e97ea16335b73a49c913f14acad9 (diff) |
Remove json from list of static files in htaccess files (#19051)
* Remove json files from static file list to serve
* Update changelog
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/Installation/ServerFilesGenerator.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Installation/ServerFilesGenerator.php b/plugins/Installation/ServerFilesGenerator.php index 45a072080f..9c14da60be 100644 --- a/plugins/Installation/ServerFilesGenerator.php +++ b/plugins/Installation/ServerFilesGenerator.php @@ -44,7 +44,7 @@ class ServerFilesGenerator "</IfModule>\n\n" . "# Allow to serve static files which are safe\n" . - "<Files ~ \"\\.(gif|ico|jpg|png|svg|js|css|htm|html|mp3|mp4|wav|ogg|avi|ttf|eot|woff|woff2|json)$\">\n" . + "<Files ~ \"\\.(gif|ico|jpg|png|svg|js|css|htm|html|mp3|mp4|wav|ogg|avi|ttf|eot|woff|woff2)$\">\n" . $allow . "\n" . "</Files>\n"; |