diff options
author | zeripath <art27@cantab.net> | 2019-10-23 22:04:22 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-23 22:04:22 +0100 |
commit | c84174b7640c17c85c8e3bb86c02cd39b09822e1 (patch) | |
tree | c3b21092e54b46ff05bd09c581f73daccdd3aa61 /routers | |
parent | 22272fe1e44fb6f1084f34694f6834d97167b3e1 (diff) | |
download | gitea-c84174b7640c17c85c8e3bb86c02cd39b09822e1.tar.gz gitea-c84174b7640c17c85c8e3bb86c02cd39b09822e1.zip |
Use AppSubUrl for more redirections (#8647)
Fix #8461 - fix misspelling of {{AppSubUrl}} and other misspelling in template
Fixes /explore and organisation redirection
Diffstat (limited to 'routers')
-rw-r--r-- | routers/home.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/home.go b/routers/home.go index f8fb849c8e..eddff28ee9 100644 --- a/routers/home.go +++ b/routers/home.go @@ -273,7 +273,7 @@ func ExploreOrganizations(ctx *context.Context) { // ExploreCode render explore code page func ExploreCode(ctx *context.Context) { if !setting.Indexer.RepoIndexerEnabled { - ctx.Redirect("/explore", 302) + ctx.Redirect(setting.AppSubURL+"/explore", 302) return } |