From 3c21570fe9aa7fc1df27e5b8f3ecfd1046183bb9 Mon Sep 17 00:00:00 2001 From: Rae Jeffries-Harris Date: Wed, 9 Aug 2017 16:58:27 +0100 Subject: [PATCH] Fixed the formatting of the passed URL --- api/server/runner.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/server/runner.go b/api/server/runner.go index b9ddab4e2..73f222d97 100644 --- a/api/server/runner.go +++ b/api/server/runner.go @@ -168,7 +168,7 @@ func (s *Server) serve(ctx context.Context, c *gin.Context, appName string, rout envVars["CALL_ID"] = reqID envVars["METHOD"] = c.Request.Method - envVars["REQUEST_URL"] = fmt.Sprintf("%v//%v%v", func() string { + envVars["REQUEST_URL"] = fmt.Sprintf("%v://%v%v", func() string { if c.Request.TLS == nil { return "http" }