feat: add base path to resources (#17655)
Co-authored-by: fhliu4 <fhliu4@iflytek.com>
This commit is contained in:
@@ -80,12 +80,12 @@ const InstallForm = () => {
|
||||
fetchSetupStatus().then((res: SetupStatusResponse) => {
|
||||
if (res.step === 'finished') {
|
||||
localStorage.setItem('setup_status', 'finished')
|
||||
window.location.href = '/signin'
|
||||
router.push('/signin')
|
||||
}
|
||||
else {
|
||||
fetchInitValidateStatus().then((res: InitValidateStatusResponse) => {
|
||||
if (res.status === 'not_started')
|
||||
window.location.href = '/init'
|
||||
router.push('/init')
|
||||
})
|
||||
}
|
||||
setLoading(false)
|
||||
|
||||
Reference in New Issue
Block a user