fix startup bootstrap recovery and local verification

This commit is contained in:
2026-04-23 10:27:13 +08:00
parent 32b2c23a04
commit fa0aacc559
9 changed files with 211 additions and 59 deletions

View File

@@ -150,6 +150,9 @@ func runMainServer() {
log.Fatalf("Failed to initialize application: %v", err)
}
defer app.Cleanup()
if err := app.Bootstrap(); err != nil {
log.Fatalf("Failed to bootstrap application state: %v", err)
}
// 启动服务器
go func() {