diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2020-02-12 08:42:34 +0100 |
---|---|---|
committer | backportbot[bot] <backportbot[bot]@users.noreply.github.com> | 2020-02-12 09:14:10 +0000 |
commit | 4bb32a46267712d2213cdaea97aa3ed72a5aa281 (patch) | |
tree | 735eaba948380debda63ae873c9fc4303ed48d14 /lib | |
parent | 1e70f7295750bc1116c65c0f2b5b5a6688b4c81c (diff) | |
download | nextcloud-server-4bb32a46267712d2213cdaea97aa3ed72a5aa281.tar.gz nextcloud-server-4bb32a46267712d2213cdaea97aa3ed72a5aa281.zip |
Allow to serve static webm directly
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
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 795c8cabcea..a88be0a014e 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)$"; + $content .= "\n RewriteCond %{REQUEST_FILENAME} !\\.(css|js|svg|gif|png|html|ttf|woff2?|ico|jpg|jpeg|map|webm)$"; $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"; |