mirror of
https://github.com/whyour/qinglong.git
synced 2026-07-18 18:44:33 +08:00
修改服务启动逻辑
This commit is contained in:
@@ -101,9 +101,9 @@ export default function () {
|
||||
|
||||
const getHealthStatus = () => {
|
||||
request
|
||||
.get(`${config.apiPrefix}public/health`)
|
||||
.get(`${config.apiPrefix}health`)
|
||||
.then((res) => {
|
||||
if (res?.data?.status === 1) {
|
||||
if (res?.data?.status === 'ok') {
|
||||
getSystemInfo();
|
||||
} else {
|
||||
history.push('/error');
|
||||
|
||||
Reference in New Issue
Block a user