mirror of
https://github.com/librespeed/speedtest.git
synced 2026-11-22 16:14:56 +00:00
Make the docker entrypoint use relative backend URL
This commit is contained in:
parent
a820d7cdf1
commit
e97e6ac5c5
1 changed files with 1 additions and 1 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue