WebSocket Origin
iesrbt opened this issue · comments
Hi,
would you please be kind enough to add:
CheckOrigin: func(r *http.Request) bool {
return true
},
as member of the upgrader variable?
This would allow to test the WS stuff from anywhere.
Thanks a lot!
[ I know I should fork then pull request. Sorry :-) ]
Hi,
it is quite old but have you done the PR?
Hey, I am having this issue too.
The container returns:
websocket: request origin not allowed by Upgrader.CheckOrigin
PR done