mirror of https://github.com/jetkvm/kvm.git
fix(ota): update redirect URL from /device/setup to /welcome in doUpdate function
This commit is contained in:
parent
f580631f0a
commit
999c8c79b0
|
|
@ -271,7 +271,7 @@ func (s *State) doUpdate(ctx context.Context, params UpdateParams) error {
|
|||
if err := s.resetConfig(); err != nil {
|
||||
return s.componentUpdateError("Error resetting config", err, &scopedLogger)
|
||||
}
|
||||
redirectUrl = "/device/setup"
|
||||
redirectUrl = "/welcome"
|
||||
}
|
||||
|
||||
postRebootAction := &PostRebootAction{
|
||||
|
|
|
|||
Loading…
Reference in New Issue