mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2025-12-20 14:30:10 +08:00
修复反向ws顺便禁用新版ci的某个功能 (#700)
This commit is contained in:
parent
283667cfe5
commit
0d8157e2f8
@ -18,7 +18,7 @@ linters:
|
|||||||
fast: false
|
fast: false
|
||||||
enable:
|
enable:
|
||||||
- bodyclose
|
- bodyclose
|
||||||
- depguard
|
#- depguard
|
||||||
- dogsled
|
- dogsled
|
||||||
- errcheck
|
- errcheck
|
||||||
- exportloopref
|
- exportloopref
|
||||||
|
|||||||
2
main.go
2
main.go
@ -277,7 +277,7 @@ func init() {
|
|||||||
config.Z.Driver[i] = w
|
config.Z.Driver[i] = w
|
||||||
}
|
}
|
||||||
for i, s := range config.S {
|
for i, s := range config.S {
|
||||||
config.Z.Driver[i+len(config.W)] = s
|
config.Z.Driver[i+len(config.W)] = driver.NewWebSocketServer(16, s.Url, s.AccessToken)
|
||||||
}
|
}
|
||||||
logrus.Infoln("[main] 从", *runcfg, "读取配置文件")
|
logrus.Infoln("[main] 从", *runcfg, "读取配置文件")
|
||||||
return
|
return
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user