修改服务启动逻辑

This commit is contained in:
whyour committed 2025-05-07 09:30:00 +08:00
1 parent 729b405b0f
commit d871585eee
46 files changed
+802 -564

No files matched your search

+2 -2
View File
@@ -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');