feat: update server log messages to use dynamic port variable

This commit is contained in:
MayaTheShy
2026-03-26 15:20:01 -04:00
parent 379d08b594
commit 075d42ecab

View File

@@ -1099,8 +1099,8 @@ function updateStateFromBridge(data) {
const wss = new WebSocketServer({ noServer: true, maxPayload: 1 * 1024 * 1024 /* 1 MB */ });
console.log(`🚀 Inventory Manager Web Server starting...`);
console.log(`📡 HTTP Server: http://localhost:${PORT}`);
console.log(`🔌 WebSocket Server: ws://localhost:${PORT}/ws`);
console.log(`📡 HTTP Server: http://localhost:${port}`);
console.log(`🔌 WebSocket Server: ws://localhost:${port}/ws`);
if (API_KEY) {
console.log('🔒 API key authentication enabled');
} else {