summaryrefslogtreecommitdiffstats
path: root/utils/api.go
diff options
context:
space:
mode:
authorChris <ccbrown112@gmail.com>2018-02-22 18:23:32 -0600
committerGitHub <noreply@github.com>2018-02-22 18:23:32 -0600
commitd44ef7ea67324072f3fbf1230c77f0ee0b4ac8bd (patch)
tree250e6f64e10631d6e0470e57916d82c897fc8b6a /utils/api.go
parent1b3808f3ecf754876168a9342e18c46d49f32ddf (diff)
downloadchat-d44ef7ea67324072f3fbf1230c77f0ee0b4ac8bd.tar.gz
chat-d44ef7ea67324072f3fbf1230c77f0ee0b4ac8bd.tar.bz2
chat-d44ef7ea67324072f3fbf1230c77f0ee0b4ac8bd.zip
Remove global site url (#8343)
* remove global site url * missed one * revert mysterious change
Diffstat (limited to 'utils/api.go')
-rw-r--r--utils/api.go2
1 files changed, 1 insertions, 1 deletions
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)