♻️ v4: 去掉添加 Agent ID 要求 需要更新面板 close #83

This commit is contained in:
naiba
2021-01-30 17:10:51 +08:00
parent 777cfd84ca
commit 0cdd0626f3
13 changed files with 52 additions and 76 deletions

View File

@@ -13,7 +13,7 @@ import (
pb "github.com/naiba/nezha/proto"
)
var Version = "v0.4.1" // !!记得修改 README 重的 badge 版本!!
var Version = "v0.4.2" // !!记得修改 README 重的 badge 版本!!
const (
SnapshotDelay = 3
@@ -26,6 +26,7 @@ var (
DB *gorm.DB
ServerList map[uint64]*model.Server
SecretToID map[string]uint64
ServerLock sync.RWMutex
SortedServerList []*model.Server