mirror of https://github.com/halo-dev/halo
fix: not redirect to /console after setup (#6852)
#### What type of PR is this? /area core /kind bug /milestone 2.20.x #### What this PR does / why we need it: 修复初始化登录之后,没有正确重定向到 /console 的问题。 #### Which issue(s) this PR fixes: Fixes #6850 #### Does this PR introduce a user-facing change? ```release-note None ```pull/6848/head
parent
149cb5d136
commit
a21413e080
|
@ -150,7 +150,7 @@ public class SystemSetupEndpoint {
|
|||
}
|
||||
|
||||
private static Mono<ServerResponse> redirectToConsole() {
|
||||
return ServerResponse.temporaryRedirect(URI.create("/console")).build();
|
||||
return ServerResponse.status(HttpStatus.FOUND).location(URI.create("/console")).build();
|
||||
}
|
||||
|
||||
private Mono<Void> doInitialization(SetupRequest body) {
|
||||
|
|
Loading…
Reference in New Issue