Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2020-07-02 21:59:54 +0300
committerGitHub <noreply@github.com>2020-07-02 21:59:54 +0300
commitc79f8b95439f5da59bfe81a4b69c4c49c47c3864 (patch)
tree3990a96ae16d30886d08a9fb9429ee10b656d298 /lib
parent2464a60879525f09bbe90d4ec31973cb08ff7c99 (diff)
parentc2f2eaf8ccd52f79612ee51160cb1e1c8e41a9f7 (diff)
Merge pull request #21580 from therealklanni/master
Add audio formats to htaccess
Diffstat (limited to 'lib')
-rw-r--r--lib/private/Setup.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Setup.php b/lib/private/Setup.php
index 856ed1d7885..775c2d0a952 100644
--- a/lib/private/Setup.php
+++ b/lib/private/Setup.php
@@ -528,7 +528,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|svg|gif|png|html|ttf|woff2?|ico|jpg|jpeg|map|webm|mp4)$";
+ $content .= "\n RewriteCond %{REQUEST_FILENAME} !\\.(css|js|svg|gif|png|html|ttf|woff2?|ico|jpg|jpeg|map|webm|mp4|mp3|ogg|wav)$";
$content .= "\n RewriteCond %{REQUEST_FILENAME} !core/img/favicon.ico$";
$content .= "\n RewriteCond %{REQUEST_FILENAME} !core/img/manifest.json$";
$content .= "\n RewriteCond %{REQUEST_FILENAME} !/remote.php";