diff --git a/config.js b/config.js index 57c0c1e..bb8baed 100644 --- a/config.js +++ b/config.js @@ -1,5 +1,6 @@ const CONFIG = { apiKey: "9811add4-5ee3-436d-ae9d-d98ff53a1f12", + remoteAppPort: 5899, style: { fontBackground: "rgba(19, 20, 33, 0.5)", fontColor: "#ffffff", diff --git a/js/app.js b/js/app.js index f485a82..787fad9 100644 --- a/js/app.js +++ b/js/app.js @@ -1,5 +1,5 @@ function main() { - const ws = new WebSocket("ws://localhost:5899"); + const ws = new WebSocket(`ws://localhost:${CONFIG.remoteAppPort}`); const paylaod = { type: "auth", payload: {