Fix AppSubURL -> AppURL typo
parent
a666eefe8f
commit
3f5f626264
|
@ -52,7 +52,7 @@ func AuthorizeInteraction(ctx *context.Context) {
|
||||||
ctx.ServerError("PersonIRIToName", err)
|
ctx.ServerError("PersonIRIToName", err)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
ctx.Redirect(setting.AppSubURL + name)
|
ctx.Redirect(setting.AppURL + name)
|
||||||
case forgefed.RepositoryType:
|
case forgefed.RepositoryType:
|
||||||
// Federated repository
|
// Federated repository
|
||||||
err = forgefed.OnRepository(object, func(r *forgefed.Repository) error {
|
err = forgefed.OnRepository(object, func(r *forgefed.Repository) error {
|
||||||
|
@ -67,7 +67,7 @@ func AuthorizeInteraction(ctx *context.Context) {
|
||||||
ctx.ServerError("RepositoryIRIToName", err)
|
ctx.ServerError("RepositoryIRIToName", err)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
ctx.Redirect(setting.AppSubURL + username + "/" + reponame)
|
ctx.Redirect(setting.AppURL + username + "/" + reponame)
|
||||||
case forgefed.TicketType:
|
case forgefed.TicketType:
|
||||||
// Federated issue or pull request
|
// Federated issue or pull request
|
||||||
err = forgefed.OnTicket(object, func(t *forgefed.Ticket) error {
|
err = forgefed.OnTicket(object, func(t *forgefed.Ticket) error {
|
||||||
|
@ -82,7 +82,7 @@ func AuthorizeInteraction(ctx *context.Context) {
|
||||||
ctx.ServerError("TicketIRIToName", err)
|
ctx.ServerError("TicketIRIToName", err)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
ctx.Redirect(setting.AppSubURL + username + "/" + reponame + "/issues/" + strconv.FormatInt(idx, 10))
|
ctx.Redirect(setting.AppURL + username + "/" + reponame + "/issues/" + strconv.FormatInt(idx, 10))
|
||||||
default:
|
default:
|
||||||
ctx.ServerError("Not implemented", err)
|
ctx.ServerError("Not implemented", err)
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue