mirror of
https://github.com/fankes/komari-agent.git
synced 2025-12-11 16:03:39 +08:00
feat: #28 支持使用环境变量 / 配置文件来传入 agent 参数
This commit is contained in:
@@ -12,9 +12,10 @@ import (
|
||||
"sync"
|
||||
"time"
|
||||
|
||||
"github.com/komari-monitor/komari-agent/cmd/flags"
|
||||
pkg_flags "github.com/komari-monitor/komari-agent/cmd/flags"
|
||||
)
|
||||
|
||||
var flags = pkg_flags.GlobalConfig
|
||||
var (
|
||||
DNSServers = []string{
|
||||
"[2606:4700:4700::1111]:53", // Cloudflare IPv6
|
||||
|
||||
Reference in New Issue
Block a user