From a5ce5972ba527ce2617ccb539ef045f1f425c373 Mon Sep 17 00:00:00 2001 From: =Corey Hulen Date: Thu, 18 Jun 2015 10:55:51 -0800 Subject: fix for dockerhost HELIUM --- api/context.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'api/context.go') 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 } -- cgit v1.2.3-1-g7c22