Files
nats-server/server/websocket.go
Phil Pennock 8f0b61870a Add websocket browser_redirect_url config option
If an HTTP(S) request is received without the Upgrade: header, then if this new
option is set then we'll assume it's a browser and issue a redirect.

There's no flexibility based upon the passed in URL; this should help with
redirecting people to dashboards or other tooling.
2020-10-23 20:44:34 -04:00

30 KiB