Update Lanyard socket URL, enhance IP logging in postAnalytics, and refactor App component structure
Some checks failed
Code quality checks / biome (push) Failing after 7s

This commit is contained in:
Seth 2025-05-16 00:14:14 -04:00
parent 281e34bbd9
commit a8d8f7014a
7 changed files with 49 additions and 183 deletions

View file

@ -7,7 +7,7 @@ export default class {
constructor(callback: (data: LanyardData) => void) {
this._socket = new ReconnectingWebSocket(
"wss://lanyard.creations.works/socket",
"wss://lanyard.atums.world/socket",
);
this._keepAlive = null;
this._callback = callback;
@ -55,7 +55,7 @@ export default class {
}
};
this._socket.onclose = () => {
this._socket.onclose = (e) => {
console.log("Lanyard socket closed");
if (this._keepAlive) {
clearInterval(this._keepAlive);