diff options
Diffstat (limited to 'internal/route/org/org.go')
-rw-r--r-- | internal/route/org/org.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/route/org/org.go b/internal/route/org/org.go index 13ec7a51..551dd3e8 100644 --- a/internal/route/org/org.go +++ b/internal/route/org/org.go @@ -7,10 +7,10 @@ package org import ( log "unknwon.dev/clog/v2" + "gogs.io/gogs/internal/conf" "gogs.io/gogs/internal/context" "gogs.io/gogs/internal/db" "gogs.io/gogs/internal/form" - "gogs.io/gogs/internal/setting" ) const ( @@ -52,5 +52,5 @@ func CreatePost(c *context.Context, f form.CreateOrg) { } log.Trace("Organization created: %s", org.Name) - c.Redirect(setting.AppSubURL + "/org/" + f.OrgName + "/dashboard") + c.Redirect(conf.Server.Subpath + "/org/" + f.OrgName + "/dashboard") } |