From 09fcf505f5d923198471eada1346e5e81a7f9ee0 Mon Sep 17 00:00:00 2001 From: Julius Volz Date: Mon, 1 Jun 2015 12:54:19 +0200 Subject: [PATCH] Fix slash position in MustBuildServerURL(). --- web/web.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/web.go b/web/web.go index 717197d9e..0a789d882 100644 --- a/web/web.go +++ b/web/web.go @@ -251,7 +251,7 @@ func MustBuildServerURL(pathPrefix string) string { if err != nil { panic(err) } - return fmt.Sprintf("http://%s:%s/%s", hostname, port, pathPrefix) + return fmt.Sprintf("http://%s:%s%s/", hostname, port, pathPrefix) } func getHostname() (string, error) {