diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2020-02-12 10:12:56 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-12 10:12:56 +0100 |
commit | cc38f28391139c30b476756e632cbab3d2930324 (patch) | |
tree | 0373a90e49550629be1191077bc0992daa82f4d3 | |
parent | fa9aa60adfc19c8e636ce4057e84605c546c99ba (diff) | |
parent | 54c84b95ac777fba8b0c92934d648b76f52ae48c (diff) | |
download | nextcloud-server-cc38f28391139c30b476756e632cbab3d2930324.tar.gz nextcloud-server-cc38f28391139c30b476756e632cbab3d2930324.zip |
Merge pull request #19417 from nextcloud/fix/htaccess/firstrun-webm
Allow to serve static webm directly
-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"; |