diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2020-02-12 08:42:34 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2020-02-12 08:42:34 +0100 |
commit | 54c84b95ac777fba8b0c92934d648b76f52ae48c (patch) | |
tree | 0373a90e49550629be1191077bc0992daa82f4d3 /lib | |
parent | fa9aa60adfc19c8e636ce4057e84605c546c99ba (diff) | |
download | nextcloud-server-54c84b95ac777fba8b0c92934d648b76f52ae48c.tar.gz nextcloud-server-54c84b95ac777fba8b0c92934d648b76f52ae48c.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"; |