diff options
author | Julius Härtl <jus@bitgrid.net> | 2020-02-12 10:36:59 +0100 |
---|---|---|
committer | backportbot[bot] <backportbot[bot]@users.noreply.github.com> | 2020-02-12 11:59:30 +0000 |
commit | 022ced65b666cfd39432d2eca41da7fdb4c11342 (patch) | |
tree | bf6d68e0355d39047104ee435ed08c39e78c2946 /lib/private | |
parent | e5963abf7b7b1e3b7cfd75d17380628fae6d3413 (diff) | |
download | nextcloud-server-022ced65b666cfd39432d2eca41da7fdb4c11342.tar.gz nextcloud-server-022ced65b666cfd39432d2eca41da7fdb4c11342.zip |
Allow to serve static mp4 directly
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'lib/private')
-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 a88be0a014e..26299aaa039 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)$"; + $content .= "\n RewriteCond %{REQUEST_FILENAME} !\\.(css|js|svg|gif|png|html|ttf|woff2?|ico|jpg|jpeg|map|webm|mp4)$"; $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"; |