summaryrefslogtreecommitdiffstats
path: root/api/context.go
diff options
context:
space:
mode:
author=Corey Hulen <corey@hulen.com>2015-06-18 10:55:51 -0800
committer=Corey Hulen <corey@hulen.com>2015-06-18 10:55:51 -0800
commita5ce5972ba527ce2617ccb539ef045f1f425c373 (patch)
tree12be011934255c7b7e2a6593dded41f5fe77b3de /api/context.go
parent0de2bd994b7d9880ecd50e59ae5a9aeb5acfd733 (diff)
downloadchat-a5ce5972ba527ce2617ccb539ef045f1f425c373.tar.gz
chat-a5ce5972ba527ce2617ccb539ef045f1f425c373.tar.bz2
chat-a5ce5972ba527ce2617ccb539ef045f1f425c373.zip
fix for dockerhost HELIUM
Diffstat (limited to 'api/context.go')
-rw-r--r--api/context.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/api/context.go b/api/context.go
index 16105c8af..501e4e77f 100644
--- a/api/context.go
+++ b/api/context.go
@@ -303,6 +303,10 @@ func IsTestDomain(r *http.Request) bool {
return true
}
+ if strings.Index(r.Host, "dockerhost") == 0 {
+ return true
+ }
+
if strings.Index(r.Host, "test") == 0 {
return true
}