diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2023-12-04 21:05:22 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-04 21:05:22 +0100 |
commit | c4ede819f78c7a86060e503776bf12f39d4e0fd0 (patch) | |
tree | 887a18d740636b6e64cecb82b14faa4eeb442a6c /lib/private/Setup.php | |
parent | d1333757a523e19cacc3feaeaf43777f78a7fc73 (diff) | |
parent | 3656eb4b8a4363b652a900aa40382976449a5170 (diff) | |
download | nextcloud-server-c4ede819f78c7a86060e503776bf12f39d4e0fd0.tar.gz nextcloud-server-c4ede819f78c7a86060e503776bf12f39d4e0fd0.zip |
Merge pull request #41557 from nextcloud/backport/41541/stable27
[stable27] Serve .flac audio files
Diffstat (limited to 'lib/private/Setup.php')
-rw-r--r-- | lib/private/Setup.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Setup.php b/lib/private/Setup.php index 75b581db7c4..657156cf171 100644 --- a/lib/private/Setup.php +++ b/lib/private/Setup.php @@ -539,7 +539,7 @@ class Setup { $content .= "\n Options -MultiViews"; $content .= "\n RewriteRule ^core/js/oc.js$ index.php [PT,E=PATH_INFO:$1]"; $content .= "\n RewriteRule ^core/preview.png$ index.php [PT,E=PATH_INFO:$1]"; - $content .= "\n RewriteCond %{REQUEST_FILENAME} !\\.(css|js|mjs|svg|gif|png|html|ttf|woff2?|ico|jpg|jpeg|map|webm|mp4|mp3|ogg|wav|wasm|tflite)$"; + $content .= "\n RewriteCond %{REQUEST_FILENAME} !\\.(css|js|mjs|svg|gif|png|html|ttf|woff2?|ico|jpg|jpeg|map|webm|mp4|mp3|ogg|wav|flac|wasm|tflite)$"; $content .= "\n RewriteCond %{REQUEST_FILENAME} !/core/ajax/update\\.php"; $content .= "\n RewriteCond %{REQUEST_FILENAME} !/core/img/(favicon\\.ico|manifest\\.json)$"; $content .= "\n RewriteCond %{REQUEST_FILENAME} !/(cron|public|remote|status)\\.php"; |