diff options
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 |
commit | 4cabe1baea940f486463296a2e7cf8a40975d9d8 (patch) | |
tree | 17fbc95926e733ea987c5fc152515d895033b684 /api/context.go | |
parent | c4788e0473d662413d9854e2e6e518ceb860cbbe (diff) | |
download | chat-4cabe1baea940f486463296a2e7cf8a40975d9d8.tar.gz chat-4cabe1baea940f486463296a2e7cf8a40975d9d8.tar.bz2 chat-4cabe1baea940f486463296a2e7cf8a40975d9d8.zip |
fix for dockerhost HELIUM
Diffstat (limited to 'api/context.go')
-rw-r--r-- | api/context.go | 4 |
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 } |