mirror of
https://github.com/nextcloud/server.git
synced 2026-04-04 16:45:22 -04:00
Allow to serve static mp4 directly
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
parent
e5963abf7b
commit
022ced65b6
1 changed files with 1 additions and 1 deletions
|
|
@ -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";
|
||||
|
|
|
|||
Loading…
Reference in a new issue