Skip to content

Commit 9e90e36

Browse files
committed
Attempting to fix wss
1 parent d32db08 commit 9e90e36

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

wss/src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@ app.ws("/*", {
1818
try{
1919
gm.message(ws, JSON.parse(decoder.decode(message)));
2020
} catch (e){
21-
// Log error
21+
console.error(e);
2222
}
2323
},
2424
close: (ws) => {
2525
gm.disconnect(ws);
2626
},
2727
});
2828

29-
app.listen("127.0.0.1", "8080", {}, (token) => {});
29+
app.listen("0.0.0.0", "8080", {}, (token) => {});
3030
console.log("Listening on port 8080");

0 commit comments

Comments
 (0)