1
0
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:
Makis Maropoulos
2016-06-18 20:26:35 +03:00
parent 78aa4f7681
commit 15139e33b7
3 changed files with 9 additions and 7 deletions

View File

@@ -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