fix:修复调度器ipv6端口问题
This commit is contained in:
1 parent
2739131308
commit
501b4c2a00
1 file changed
+1
-1
+1
-1
@@ -420,7 +420,7 @@ func startScheduler() {
|
||||
if host == "" || host == "0.0.0.0" || host == "::" {
|
||||
host = "localhost"
|
||||
}
|
||||
apiURL := "http://" + host + ":" + port
|
||||
apiURL := "http://" + net.JoinHostPort(host, port)
|
||||
dbPath := filepath.Join(cfg.AppDataPath, "db", "scheduler.db")
|
||||
|
||||
// Clean up stale port file from previous run
|
||||
|
||||
Reference in new issue
Block a user