mirror of
https://github.com/Buriburizaem0n/nezha_domains.git
synced 2026-11-04 16:40:21 +00:00
🐛 修复 Windows time.LoadLocation
This commit is contained in:
1 parent
d73ceaaaa5
commit
84866384f4
3 files changed
+4
-3
No files matched your search
@@ -15,7 +15,7 @@ import (
|
||||
pb "github.com/naiba/nezha/proto"
|
||||
)
|
||||
|
||||
var Version = "v0.12.13" // !!记得修改 README 中的 badge 版本!!
|
||||
var Version = "v0.12.14" // !!记得修改 README 中的 badge 版本!!
|
||||
|
||||
var (
|
||||
Conf *model.Config
|
||||
@@ -31,7 +31,7 @@ var (
|
||||
SortedServerLock sync.RWMutex
|
||||
)
|
||||
|
||||
func init() {
|
||||
func Init() {
|
||||
var err error
|
||||
Loc, err = time.LoadLocation("Asia/Shanghai")
|
||||
if err != nil {
|
||||
|
||||
Reference in new issue
Block a user