Skip to content

Commit b3518c8

Browse files
committed
SW-27070 - improve htaccess
1 parent 2e2e0b6 commit b3518c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: .htaccess.dist

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
3939
RedirectMatch 404 /(web\/cache\/(config_\d+\.json|all.less))$
4040

4141
# Restrict access to theme configurations
42-
RedirectMatch 404 /themes/(.*)(.*\.lock|package\.json|\.gitignore|Gruntfile\.js|all\.less|node_modules\/.*)$
42+
RedirectMatch 404 /themes/(.*)(.(lock|package)\.json|\.gitignore|Gruntfile\.js|all\.less|node_modules\/.*)$
4343
</IfModule>
4444

4545
# Staging environment

0 commit comments

Comments
 (0)