diff options
author | Marcel Müller <marcel-mueller@gmx.de> | 2023-11-16 20:35:07 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-16 20:35:07 +0100 |
commit | db3c731b0e4f623af264b854e9e54e5f7263e513 (patch) | |
tree | c435daa43309be008b6eb40fb8449378f77970ac | |
parent | be62df5bb3b620c48a4085d3c36a97590612633c (diff) | |
parent | eaf863dfdb8f099b10a4e3ad93af7db2a937c26b (diff) | |
download | nextcloud-server-db3c731b0e4f623af264b854e9e54e5f7263e513.tar.gz nextcloud-server-db3c731b0e4f623af264b854e9e54e5f7263e513.zip |
Merge pull request #41541 from nextcloud/fix/noid/serve-flac-files
Serve .flac audio files
-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"; |