Skip to content

Commit

Permalink
Injection fix
Browse files Browse the repository at this point in the history
  • Loading branch information
wtripp180901 committed Aug 16, 2023
1 parent a4e81d6 commit a62ee78
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion image/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,10 @@ then
mkdir --parents /opt/rh/httpd24/root/etc/httpd/
/usr/bin/htpasswd -cb /opt/rh/httpd24/root/etc/httpd/apache-passwords rocky $ROCKY_OOD_PASS

echo "config.hosts = nil" >> /var/www/ood/apps/sys/dashboard/config/environments/production.rb
head -102 /var/www/ood/apps/sys/dashboard/config/environments/production.rb > tmp.txt
cat tmp.txt > /var/www/ood/apps/sys/dashboard/config/environments/production.rb
echo " config.hosts = nil" >> /var/www/ood/apps/sys/dashboard/config/environments/production.rb
echo "end" >> /var/www/ood/apps/sys/dashboard/config/environments/production.rb

/opt/ood/ood-portal-generator/sbin/update_ood_portal

Expand Down

0 comments on commit a62ee78

Please sign in to comment.