feat: 合并更新
Build docker and publish / build (20.15.1) (push) Has been cancelled

This commit is contained in:
2025-12-29 04:02:04 -08:00
parent 544cfb5c99
commit 9212efc176
6 changed files with 2011 additions and 1 deletions
+3 -1
View File
@@ -2,6 +2,7 @@ package svc
import (
"context"
"fmt"
"github.com/perfect-panel/server/internal/model/client"
"github.com/perfect-panel/server/internal/model/node"
@@ -78,7 +79,8 @@ func NewServiceContext(c config.Config) *ServiceContext {
// IP location initialize
geoIP, err := NewIPLocation("./cache/GeoLite2-City.mmdb")
if err != nil {
panic(err.Error())
// panic(err.Error())
fmt.Printf("GeoIP load failed: %v\n", err)
}
rds := redis.NewClient(&redis.Options{