Skip to content

Commit

Permalink
fix escaping
Browse files Browse the repository at this point in the history
  • Loading branch information
rnsrk committed Nov 8, 2024
1 parent c6f5feb commit 267adab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ echo -e "\033[0;32mPHP MEMORY SETTINGS SET.\033[0m\n"
# Set trusted host settings
echo -e "\033[0;33mSETTING TRUSTED HOST SETTINGS...\033[0m"
{
echo '$settings['trusted_host_patterns'] = [
'^'.getenv('DRUPAL_TRUSTED_HOST').'$',
echo '$settings["trusted_host_patterns"] = [
"^".getenv("DRUPAL_TRUSTED_HOST")."$",
];' >> /opt/drupal/web/sites/default/settings.php
} 1> /dev/null
echo -e "\033[0;32mTRUSTED HOST SETTINGS SET.\033[0m\n"
Expand Down

0 comments on commit 267adab

Please sign in to comment.