Skip to content

Commit 86714ae

Browse files
Fix TRUSTED_HOSTS regexp example
1 parent f3d2109 commit 86714ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

symfony/framework-bundle/4.2/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"APP_ENV": "dev",
1616
"APP_SECRET": "%generate(secret)%",
1717
"#TRUSTED_PROXIES": "127.0.0.0/8,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16",
18-
"#TRUSTED_HOSTS": "'^localhost$|^example\\.com$'"
18+
"#TRUSTED_HOSTS": "'^(localhost|example\\.com)$'"
1919
},
2020
"gitignore": [
2121
"/.env.local",

0 commit comments

Comments
 (0)