From 0958e4b899ad23a45016a549e212d8c0dfe3bde6 Mon Sep 17 00:00:00 2001 From: NdubuisiJr Date: Sun, 5 Sep 2021 11:51:54 +0100 Subject: [PATCH] added console loggin for centrifugo message --- server/public/index.html | 1 + server/src/config/index.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/server/public/index.html b/server/public/index.html index 3cfd0abb..9062ee7a 100644 --- a/server/public/index.html +++ b/server/public/index.html @@ -41,6 +41,7 @@

}; const hookUpListeners = (ctx) => { + console.log(ctx); if (ctx.data.event == "join_game") { joinGameHandler(ctx.data); } else if (ctx.data.event == "piece_move") { diff --git a/server/src/config/index.js b/server/src/config/index.js index ec229734..b8778371 100644 --- a/server/src/config/index.js +++ b/server/src/config/index.js @@ -2,5 +2,5 @@ module.exports = { PORT: process.env.PORT || 5050, SOCKER_KEY: process.env.SOCKER_TOKEN || "58c2400b-831d-411d-8fe8-31b6e337738b", - SOCKET_URL: process.env.SOCKET_URL || "wss://realtime.zuri.chat/api", + SOCKET_URL: process.env.SOCKET_URL || "https://realtime.zuri.chat/api", };