]> source.dussan.org Git - nextcloud-server.git/commitdiff
Serve .flac audio files 41541/head
authorMarcel Müller <marcel-mueller@gmx.de>
Thu, 16 Nov 2023 13:24:56 +0000 (14:24 +0100)
committerMarcel Müller <marcel-mueller@gmx.de>
Thu, 16 Nov 2023 13:24:56 +0000 (14:24 +0100)
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
lib/private/Setup.php

index 4ef89e1415806bbbb628c4e79ecaf71cc583cd23..e763b6d39c1d65e8b43214141adcd06c91ceade1 100644 (file)
@@ -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";