mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2026-02-06 07:19:37 +00:00
✏️ 修复 webgui 监听端口问题
This commit is contained in:
6
main.go
6
main.go
@@ -75,8 +75,8 @@ func init() {
|
||||
d := flag.Bool("d", false, "Enable debug level log and higher.")
|
||||
w := flag.Bool("w", false, "Enable warning level log and higher.")
|
||||
h := flag.Bool("h", false, "Display this help.")
|
||||
// 解析命令行参数,输入 `-g` 即可启用 gui
|
||||
// g := flag.Bool("g", false, "Enable web gui.")
|
||||
// 解析命令行参数,输入 `-g 监听地址:端口` 即可启用 gui
|
||||
// g := flag.String("g", "127.0.0.1:3000", "Enable web gui.")
|
||||
|
||||
// 直接写死 AccessToken 时,请更改下面第二个参数
|
||||
token = flag.String("t", "", "Set AccessToken of WSClient.")
|
||||
@@ -99,7 +99,7 @@ func init() {
|
||||
}
|
||||
// 解析命令行参数,输入 `-g` 即可启用 gui
|
||||
// if *g {
|
||||
// webctrl.InitGui()
|
||||
// webctrl.InitGui(*g)
|
||||
// }
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user