fixed hostname directing to localhost LOL
This commit is contained in:
parent
f2d72f782e
commit
161dfcd1f9
|
@ -56,7 +56,7 @@ function loop() {
|
||||||
}
|
}
|
||||||
|
|
||||||
function connect() {
|
function connect() {
|
||||||
client = new WebSocket("wss://localhost:8080");
|
client = new WebSocket("wss://" + window.location.host);
|
||||||
|
|
||||||
client.addEventListener('open', () => {
|
client.addEventListener('open', () => {
|
||||||
// insert_text('\x00');
|
// insert_text('\x00');
|
||||||
|
|
Loading…
Reference in a new issue