mirror of
https://github.com/kataras/iris.git
synced 2025-12-22 12:27:02 +00:00
I forgot to use sort.Sort lawl
This commit is contained in:
@@ -108,7 +108,10 @@ func (i *iriscontrol) initializeChild() {
|
||||
})
|
||||
|
||||
i.child.UseFunc(func(ctx *iris.Context) {
|
||||
///TODO: Remove this and make client-side basic auth when websocket connection.
|
||||
///TODO: Remove this and make client-side basic auth when websocket connection. (user@password/host.. on chronium)
|
||||
// FOR GOOGLE CHROME/CHRONIUM
|
||||
// https://bugs.chromium.org/p/chromium/issues/detail?id=123862
|
||||
// CROSS DOMAIN IS DISABLED so I think this is ok solution for now...
|
||||
if ctx.PathString() == i.child.Config.Websocket.Endpoint {
|
||||
ctx.Next()
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user