This commit is contained in:
bingus_violet 2024-04-20 15:39:25 -05:00
parent de69048ebe
commit fb85cdf770

View file

@ -56,16 +56,21 @@ window.onload = function () {
pfp.style.scale = "1" pfp.style.scale = "1"
} }
} }
socketeer()
} }
var lastPong = Date.now() var lastPong = Date.now()
function socketeer() { function socketeer() {
var sock = new WebSocket('wss://beta.violets-purgatory.dev') var sock = new WebSocket('wss://api.violets-purgatory.dev')
sock.onmessage = (event) => { sock.onmessage = (event) => {
console.log(event.data) console.log(event.data)
} }
}
socketeer() sock.addEventListener("open", () => {
console.log("AAAA")
})
}