Merge branch 'main' into test-dev

This commit is contained in:
yangjianbo
2025-12-29 10:50:46 +08:00
78 changed files with 2847 additions and 990 deletions

View File

@@ -108,6 +108,14 @@ func runSetupServer() {
}
func runMainServer() {
cfg, err := config.Load()
if err != nil {
log.Fatalf("Failed to load config: %v", err)
}
if cfg.RunMode == config.RunModeSimple {
log.Println("⚠️ WARNING: Running in SIMPLE mode - billing and quota checks are DISABLED")
}
buildInfo := handler.BuildInfo{
Version: Version,
BuildType: BuildType,