diff --git a/code/utils/deploy-pokedex.js b/code/utils/deploy-pokedex.js index 3202c13..c945d83 100644 --- a/code/utils/deploy-pokedex.js +++ b/code/utils/deploy-pokedex.js @@ -251,12 +251,12 @@ async function deployLocal(config) { if (!frontendHealthy) throw new Error('Frontend health check failed'); console.log(' ✅ Frontend healthy'); + console.log(' Checking backend...'); const backendHealthy = await healthCheck( 'localhost', config.backendPort, '/health' ); - const backendHealthy = await healthCheck('localhost', config.backendPort); // Backend might need more time if (!backendHealthy) throw new Error('Backend health check failed'); console.log(' ✅ Backend healthy');