diff --git a/index.js b/index.js index 8d4b7cd..1a7e9c6 100644 --- a/index.js +++ b/index.js @@ -60,7 +60,7 @@ var roomList = []; // IEM WebSocket app.ws('/iem', (ws, req) => { console.log(`connection from ${req.ip}`); - const hostname = os.hostname(); + const hostname = process.env.HOST_OVERRIDE || os.hostname(); ws.send(JSON.stringify({ "type": "connection-info",