fixed hostname directing to localhost LOL

This commit is contained in:
ari melody 2023-09-30 08:37:30 +01:00
parent f2d72f782e
commit 161dfcd1f9
Signed by: ari
GPG key ID: CF99829C92678188

View file

@ -56,7 +56,7 @@ function loop() {
}
function connect() {
client = new WebSocket("wss://localhost:8080");
client = new WebSocket("wss://" + window.location.host);
client.addEventListener('open', () => {
// insert_text('\x00');