chore(scripts/develop.sh): restore original access url setting (#9174)

This commit is contained in:
Cian Johnston
2023-08-18 13:24:17 +00:00
committed by GitHub
parent 8db3869415
commit 95458ac8a5
2 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -131,7 +131,7 @@ fatal() {
trap 'fatal "Script encountered an error"' ERR
cdroot
start_cmd API "" "${CODER_DEV_SHIM}" server --http-address 0.0.0.0:3000 --swagger-enable --dangerous-allow-cors-requests=true "$@"
start_cmd API "" "${CODER_DEV_SHIM}" server --http-address 0.0.0.0:3000 --swagger-enable --access-url "http://127.0.0.1:3000" --dangerous-allow-cors-requests=true "$@"
echo '== Waiting for Coder to become ready'
# Start the timeout in the background so interrupting this script