diff options
author | Marcel Müller <marcel-mueller@gmx.de> | 2023-11-16 14:24:56 +0100 |
---|---|---|
committer | Marcel Müller <marcel-mueller@gmx.de> | 2023-11-16 14:24:56 +0100 |
commit | eaf863dfdb8f099b10a4e3ad93af7db2a937c26b (patch) | |
tree | 2fa54f21baa027d735f0d72e4cff504106e17b05 /lib/private/Setup.php | |
parent | 9c3350b3131312e60155c26a8a15b95981c6dd0a (diff) | |
download | nextcloud-server-eaf863dfdb8f099b10a4e3ad93af7db2a937c26b.tar.gz nextcloud-server-eaf863dfdb8f099b10a4e3ad93af7db2a937c26b.zip |
Serve .flac audio files
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
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 4ef89e14158..e763b6d39c1 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"; |