diff options
author | John Molakvoæ <skjnldsv@users.noreply.github.com> | 2019-06-19 10:34:56 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-19 10:34:56 +0200 |
commit | 0d7727bfeb35d92a8d7ab1efc4751634955f58b4 (patch) | |
tree | 844f584ee6a958a327c75d1690f1f9e4d3aae4a2 | |
parent | 792c98eb58b52bf0a92a4a699abb15c6c4ba05cf (diff) | |
parent | 3ef1780646bc00d3fc5f836dd74243ecc1e260d9 (diff) | |
download | nextcloud-server-0d7727bfeb35d92a8d7ab1efc4751634955f58b4.tar.gz nextcloud-server-0d7727bfeb35d92a8d7ab1efc4751634955f58b4.zip |
Allow to access source maps on apache (#16006)
Allow to access source maps on apache
-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 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"; |