You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@cagev hello, is this still actual? Setting CORS with sockjs-go works for me, but looking on the example you provided it's not obvious why it's not working to you. Can you provide a full example with steps to reproduce an issue locally?
//here is my options
opts := sockjs.DefaultOptions
opts.ResponseLimit = 4096
opts.RawWebsocket = true
opts.CheckOrigin = func(r *http.Request) bool {
fmt.Printf("check origin request %v\n", r.URL)
The text was updated successfully, but these errors were encountered: