diff options
author | =Corey Hulen <corey@hulen.com> | 2015-10-02 10:29:56 -0700 |
---|---|---|
committer | =Corey Hulen <corey@hulen.com> | 2015-10-02 10:29:56 -0700 |
commit | 3b34e7313251c5c9b7dde8c5916f83ab9e9f2a31 (patch) | |
tree | 6b588e409293ced1959dd071b526d7d8559941c0 /web | |
parent | 4452bb798878ee3a803b018f817cb3259e341a82 (diff) | |
download | chat-3b34e7313251c5c9b7dde8c5916f83ab9e9f2a31.tar.gz chat-3b34e7313251c5c9b7dde8c5916f83ab9e9f2a31.tar.bz2 chat-3b34e7313251c5c9b7dde8c5916f83ab9e9f2a31.zip |
Fixing redirect issue
Diffstat (limited to 'web')
-rw-r--r-- | web/web.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/web.go b/web/web.go index 8952f36a3..e440699b2 100644 --- a/web/web.go +++ b/web/web.go @@ -341,7 +341,7 @@ func getChannel(c *api.Context, w http.ResponseWriter, r *http.Request) { if team.Name != teamName { l4g.Error("It appears you are logged into " + team.Name + ", but are trying to access " + teamName) - http.Redirect(w, r, c.GetTeamURL()+"/channels/town-square", http.StatusFound) + http.Redirect(w, r, c.GetSiteURL()+"/"+team.Name+"/channels/town-square", http.StatusFound) return } |