修复反向ws顺便禁用新版ci的某个功能 (#700)

This commit is contained in:
Jiang-Red 2023-07-13 14:23:25 +08:00 committed by GitHub
parent 283667cfe5
commit 0d8157e2f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@ linters:
fast: false
enable:
- bodyclose
- depguard
#- depguard
- dogsled
- errcheck
- exportloopref

View File

@ -277,7 +277,7 @@ func init() {
config.Z.Driver[i] = w
}
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, "读取配置文件")
return