mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-06-26 05:06:36 +02:00
02ac1fc0b3
listen {
websocket {
allow-origin { *.example.net; }
}
}
This allows you to limit websockets to a particular domain, IF the
user is using a normal browser.
Note that any non-browser (eg a websocket command line program) could
just spoof the Origin header, so for that case it doesn't really add
any security or real restriction.