Skip to content

Commit 8d9fd32

Browse files
committed
fix: use default port variable in prp-implement health check
Replace undefined PORT with ${PORT:-3000} fallback.
1 parent 6482165 commit 8d9fd32

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

commands/prp-implement.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ SERVER_PID=$!
173173
# Wait for server to be ready (adjust port as needed)
174174
SERVER_READY=0
175175
for i in $(seq 1 30); do
176-
if curl -sf http://localhost:PORT/health >/dev/null 2>&1; then
176+
if curl -sf http://localhost:${PORT:-3000}/health >/dev/null 2>&1; then
177177
SERVER_READY=1
178178
break
179179
fi

0 commit comments

Comments
 (0)