feat: sleep 5 seconds before starting the frontend to wait for the API

This commit is contained in:
LUIS NOVO 2025-10-19 10:45:54 -03:00
parent a73ce8e094
commit e38e7110f4
2 changed files with 2 additions and 2 deletions

View file

@ -26,7 +26,7 @@ autostart=true
startsecs=3
[program:frontend]
command=npm run start
command=bash -c "sleep 5 && npm run start"
directory=/app/frontend
environment=NODE_ENV="production",PORT="8502"
stdout_logfile=/dev/stdout

View file

@ -38,7 +38,7 @@ autostart=true
startsecs=3
[program:frontend]
command=npm run start
command=bash -c "sleep 5 && npm run start"
directory=/app/frontend
environment=NODE_ENV="production",PORT="8502"
stdout_logfile=/dev/stdout