Conversation
js/app/ui/module/system_killboard.js
Outdated
| static initWebSocket(){ | ||
| if(!SystemKillboardModule.ws){ | ||
| SystemKillboardModule.ws = new WebSocket('wss://zkillboard.com:2096'); | ||
| SystemKillboardModule.ws = new WebSocket('wss://zkillboard.com/websocket'); |
There was a problem hiding this comment.
Not sure if you had this working on your instance but the correct URL seems to be wss://zkillboard.com/websocket/ otherwise you get a permanent redirect and the UI shows as Offline (Red dot).
There was a problem hiding this comment.
Hey, yes you are correct, it requires the trailing slash, works fine in our instance as wss://killboard.com/websocket/
There was a problem hiding this comment.
Don't you need the "z" in zkillboard? I am still getting my apache server running, so I shamefully, did not get to test.
But when I test a websocket connection on the command line with NodeJS, I need to use: wss://zkillboard.com/websocket/
There was a problem hiding this comment.
I have added the trailing slash though. Thank you guys for catching!
There was a problem hiding this comment.
Yep, i just copy/pasted from gparent's comment. Full line in my working fork is:
SystemKillboardModule.ws = new WebSocket('wss://zkillboard.com/websocket/');
There was a problem hiding this comment.
I edited my comment. On my fork I have the working link and rebuilt the static files.
#995 updating zkillboard socket url