oops cross platform testing doesnt play nice with cookies
parent
d36ef7b629
commit
d6db4a8a58
|
|
@ -0,0 +1,16 @@
|
||||||
|
<html>
|
||||||
|
<header>
|
||||||
|
<script>
|
||||||
|
function log(msg) {
|
||||||
|
console.log(msg)
|
||||||
|
}
|
||||||
|
const ws = new Websocket("wss://out-test.breel.dev/ws")
|
||||||
|
ws.onmessage = () => { console.log("got a message") }
|
||||||
|
ws.onerror = () => { console.log("got an error") }
|
||||||
|
ws.onclose = () => { console.log("closed") }
|
||||||
|
</script>
|
||||||
|
</header>
|
||||||
|
<body>
|
||||||
|
<div id="msg"></div>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
Loading…
Reference in New Issue