diff options
author | Marcel Müller <marcel-mueller@gmx.de> | 2023-11-16 14:24:56 +0100 |
---|---|---|
committer | backportbot-nextcloud[bot] <backportbot-nextcloud[bot]@users.noreply.github.com> | 2023-11-16 19:53:10 +0000 |
commit | 3656eb4b8a4363b652a900aa40382976449a5170 (patch) | |
tree | 6586a123a296969fa05753cbbade89abb9a0ec16 /lib | |
parent | ec84b5c4ee4f9734861926255639bdb09f9f6306 (diff) | |
download | nextcloud-server-3656eb4b8a4363b652a900aa40382976449a5170.tar.gz nextcloud-server-3656eb4b8a4363b652a900aa40382976449a5170.zip |
Serve .flac audio files
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
Diffstat (limited to 'lib')
-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 749d4c7bdb0..75e2a45d8c2 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"; |