Skip to content
Snippets Groups Projects
Commit 0f666430 authored by Travis Carden's avatar Travis Carden Committed by Ted Bowman
Browse files

Issue #3322313 by TravisCarden, tedbow: Loosen "trusted_host_patterns" setting...

Issue #3322313 by TravisCarden, tedbow: Loosen "trusted_host_patterns" setting in setup_local_dev.sh
parent e7316175
No related branches found
No related tags found
1 merge request!595Issue #3322313: Loosen "trusted_host_patterns" setting in setup_local_dev.sh
......@@ -121,10 +121,9 @@ cp "$_SITE_DIRECTORY_REALPATH/sites/default/default.settings.php" \
"$_SITE_DIRECTORY_REALPATH/sites/default/settings.php"
# Set trusted_host_patterns configuration.
TRUSTED_HOST_PATTERN="${SITE_HOST//\./\\.}"
echo "
echo "
\$settings['trusted_host_patterns'] = [
'^$TRUSTED_HOST_PATTERN\$',
'^.*\$',
];" \
| tee -a sites/default/settings.php
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment