mirror of https://github.com/bra1n/townsquare.git
fix live sessions
This commit is contained in:
parent
ee8de70225
commit
003af739e7
|
@ -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
|
||||
)
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue