Skip to content

Commit f3d2109

Browse files
Fix TRUSTED_HOSTS regexp example
1 parent 7d12a7b commit f3d2109

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

symfony/framework-bundle/3.3/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.1,127.0.0.2",
18-
"#TRUSTED_HOSTS": "'^localhost$|^example\\.com$'"
18+
"#TRUSTED_HOSTS": "'^(localhost|example\\.com)$'"
1919
},
2020
"gitignore": [
2121
"/.env.local",

0 commit comments

Comments
 (0)