mirror of
https://github.com/AutoMaker-Org/automaker.git
synced 2026-02-04 21:23:07 +00:00
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:
6
init.mjs
6
init.mjs
@@ -301,8 +301,8 @@ async function main() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Kill any existing processes on required ports
|
// Kill any existing processes on required ports
|
||||||
log('Checking for processes on ports 3007 and 3008...', 'yellow');
|
log('Checking for processes on ports 5173 and 3008...', 'yellow');
|
||||||
await killPort(3007);
|
await killPort(5173);
|
||||||
await killPort(3008);
|
await killPort(3008);
|
||||||
console.log('');
|
console.log('');
|
||||||
|
|
||||||
@@ -377,7 +377,7 @@ async function main() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
log('✓ Server is ready!', 'green');
|
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('');
|
console.log('');
|
||||||
|
|
||||||
// Start web app
|
// Start web app
|
||||||
|
|||||||
Reference in New Issue
Block a user