fix: update port references in init.mjs for server availability

- Changed the port from 3007 to 5173 in the logging and server availability messages to reflect the new configuration.
- Ensured that the process killing function targets the correct port for consistency in server setup.
This commit is contained in:
Kacper
2025-12-18 15:24:38 +01:00
parent 95c6a69610
commit 7ad70a3923

View File

@@ -301,8 +301,8 @@ async function main() {
}
// Kill any existing processes on required ports
log('Checking for processes on ports 3007 and 3008...', 'yellow');
await killPort(3007);
log('Checking for processes on ports 5173 and 3008...', 'yellow');
await killPort(5173);
await killPort(3008);
console.log('');
@@ -377,7 +377,7 @@ async function main() {
}
log('✓ Server is ready!', 'green');
log(`The application will be available at: http://localhost:3007`, 'green');
log(`The application will be available at: http://localhost:5173`, 'green');
console.log('');
// Start web app