From d44ef7ea67324072f3fbf1230c77f0ee0b4ac8bd Mon Sep 17 00:00:00 2001 From: Chris Date: Thu, 22 Feb 2018 18:23:32 -0600 Subject: Remove global site url (#8343) * remove global site url * missed one * revert mysterious change --- utils/api.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils/api.go') diff --git a/utils/api.go b/utils/api.go index 51524074d..0f2640829 100644 --- a/utils/api.go +++ b/utils/api.go @@ -52,7 +52,7 @@ func RenderWebError(w http.ResponseWriter, r *http.Request, status int, params u http.Error(w, "", http.StatusInternalServerError) return } - destination := strings.TrimRight(GetSiteURL(), "/") + "/error?" + queryString + "&s=" + base64.URLEncoding.EncodeToString(signature) + destination := "/error?" + queryString + "&s=" + base64.URLEncoding.EncodeToString(signature) if status >= 300 && status < 400 { http.Redirect(w, r, destination, status) -- cgit v1.2.3-1-g7c22