Allow to access source maps on apache (#16006)
Allow to access source maps on apache
This commit is contained in:
commit
0d7727bfeb
|
@ -504,7 +504,7 @@ class Setup {
|
||||||
$content .= "\n Options -MultiViews";
|
$content .= "\n Options -MultiViews";
|
||||||
$content .= "\n RewriteRule ^core/js/oc.js$ index.php [PT,E=PATH_INFO:$1]";
|
$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 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)$";
|
$content .= "\n RewriteCond %{REQUEST_FILENAME} !\\.(css|js|svg|gif|png|html|ttf|woff2?|ico|jpg|jpeg|map)$";
|
||||||
$content .= "\n RewriteCond %{REQUEST_FILENAME} !core/img/favicon.ico$";
|
$content .= "\n RewriteCond %{REQUEST_FILENAME} !core/img/favicon.ico$";
|
||||||
$content .= "\n RewriteCond %{REQUEST_FILENAME} !core/img/manifest.json$";
|
$content .= "\n RewriteCond %{REQUEST_FILENAME} !core/img/manifest.json$";
|
||||||
$content .= "\n RewriteCond %{REQUEST_FILENAME} !/remote.php";
|
$content .= "\n RewriteCond %{REQUEST_FILENAME} !/remote.php";
|
||||||
|
|
Loading…
Reference in New Issue