summaryrefslogtreecommitdiffstats
path: root/lib/private
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2019-06-19 09:54:49 +0200
committerJulius Härtl <jus@bitgrid.net>2019-06-19 09:54:49 +0200
commit3ef1780646bc00d3fc5f836dd74243ecc1e260d9 (patch)
treeeb8de4f0765e0ed3d6bde31766e5de634f6d9069 /lib/private
parent366374d8e3d5927690a51185a974ad139015b897 (diff)
downloadnextcloud-server-3ef1780646bc00d3fc5f836dd74243ecc1e260d9.tar.gz
nextcloud-server-3ef1780646bc00d3fc5f836dd74243ecc1e260d9.zip
Allow to access source maps on apache
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'lib/private')
-rw-r--r--lib/private/Setup.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Setup.php b/lib/private/Setup.php
index 5b2f71e69c5..d7c6df3535a 100644
--- a/lib/private/Setup.php
+++ b/lib/private/Setup.php
@@ -504,7 +504,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)$";
+ $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/manifest.json$";
$content .= "\n RewriteCond %{REQUEST_FILENAME} !/remote.php";