diff --git a/entrypoint.sh b/entrypoint.sh index 1a7c8bc..5ee3885 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -2,9 +2,9 @@ cd /var/www/html -sed -i "s/quakejs/${SERVER}/g" index.html +sed -i "s/'quakejs:/window.location.hostname + ':/g" index.html -sed -i "s/${SERVER}:80/${SERVER}:${HTTP_PORT}/g" index.html +sed -i "s/':80'/':${HTTP_PORT}'/g" index.html /etc/init.d/apache2 start