1
0
Fork 0
mirror of https://github.com/bra1n/townsquare.git synced 2025-04-04 22:24:36 +00:00

fix live sessions

This commit is contained in:
Steffen 2020-12-22 12:53:39 +01:00
parent ee8de70225
commit 003af739e7

View file

@ -13,7 +13,7 @@ const wss = new WebSocket.Server({
verifyClient: info =>
info.origin &&
!!info.origin.match(
/^https?:\/\/([^.]+\.github\.io|localhost|live\.clocktower\.online|eddbra1nprivatetownsquare\.xyz)/i
/^https?:\/\/([^.]+\.github\.io|localhost|clocktower\.online|eddbra1nprivatetownsquare\.xyz)/i
)
});