feat: update server log messages to use dynamic port variable
This commit is contained in:
@@ -1099,8 +1099,8 @@ function updateStateFromBridge(data) {
|
|||||||
const wss = new WebSocketServer({ noServer: true, maxPayload: 1 * 1024 * 1024 /* 1 MB */ });
|
const wss = new WebSocketServer({ noServer: true, maxPayload: 1 * 1024 * 1024 /* 1 MB */ });
|
||||||
|
|
||||||
console.log(`🚀 Inventory Manager Web Server starting...`);
|
console.log(`🚀 Inventory Manager Web Server starting...`);
|
||||||
console.log(`📡 HTTP Server: http://localhost:${PORT}`);
|
console.log(`📡 HTTP Server: http://localhost:${port}`);
|
||||||
console.log(`🔌 WebSocket Server: ws://localhost:${PORT}/ws`);
|
console.log(`🔌 WebSocket Server: ws://localhost:${port}/ws`);
|
||||||
if (API_KEY) {
|
if (API_KEY) {
|
||||||
console.log('🔒 API key authentication enabled');
|
console.log('🔒 API key authentication enabled');
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user