Skip to content

Commit

Permalink
fix(run): update win run.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
yakeJiang committed Aug 28, 2023
1 parent 21b4944 commit e28990a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion run.bat
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ GOTO:EOF
REM Wait for the backend service to start
for /l %%i in (1, 1, 20) do (
set "response="
for /f "delims=" %%a in ('set HTTP_PROXY= ^& set HTTPS_PROXY= ^& set ALL_PROXY= ^& http_proxy= ^& https_proxy= ^& all_proxy= ^& curl -s -o nul -w "%%{http_code}" http://127.0.0.1:%BACKEND_PORT%') do set "response=%%a"
for /f "delims=" %%a in ('set HTTP_PROXY= ^& set HTTPS_PROXY= ^& set ALL_PROXY= ^& set http_proxy= ^& set https_proxy= ^& set all_proxy= ^& curl -s -o nul -w "%%{http_code}" http://127.0.0.1:%BACKEND_PORT%') do set "response=%%a"

echo !response!
if "!response!"=="404" (
Expand Down

0 comments on commit e28990a

Please sign in to comment.