diff options
Diffstat (limited to 'api/context.go')
-rw-r--r-- | api/context.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api/context.go b/api/context.go index 81a2c021d..524ccf402 100644 --- a/api/context.go +++ b/api/context.go @@ -364,7 +364,7 @@ func (c *Context) SetTeamURLFromSession() { } func (c *Context) SetSiteURL(url string) { - c.siteURL = url + c.siteURL = strings.TrimRight(url, "/") } func (c *Context) GetTeamURLFromTeam(team *model.Team) string { |