Make the docker entrypoint use relative backend URL

This commit is contained in:
W Scott Jasso 2026-10-21 17:02:36 -07:00 • committed by GitHub
parent a820d7cdf1
commit e97e6ac5c5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -99,7 +99,7 @@ if [[ "$MODE" == "frontend" || "$MODE" == "dual" || "$MODE" == "standalone" ]];
else
echo "no /servers.json found, create one for local host"
# generate config for just the local server
echo '[{"name":"local","server":"/backend", "dlURL": "garbage.php", "ulURL": "empty.php", "pingURL": "empty.php", "getIpURL": "getIP.php", "sponsorName": "", "sponsorURL": "", "id":1 }]' > /var/www/html/server-list.json
echo '[{"name":"local","server":"backend", "dlURL": "garbage.php", "ulURL": "empty.php", "pingURL": "empty.php", "getIpURL": "getIP.php", "sponsorName": "", "sponsorURL": "", "id":1 }]' > /var/www/html/server-list.json
fi
if [ ! -z "$SERVER_LIST_URL" ]; then
echo "using SERVER_LIST_URL for frontend server list"