Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Giehl <stefan@matomo.org>2022-04-13 10:48:39 +0300
committerGitHub <noreply@github.com>2022-04-13 10:48:39 +0300
commit1adc3ab6936fd5ff1874368bcc625b25831362ec (patch)
tree6e3a702a200ceb43c99bef03553ae34783a05f59 /plugins
parentfb27f95d1885e97ea16335b73a49c913f14acad9 (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.php2
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";