更新项目配置,修改 Go 版本至 1.24,添加依赖项,重构主程序以加载配置和初始化服务,删除不再使用的远程目标配置文件。
This commit is contained in:
10
cmii-uav-watchdog/config/config.yaml
Normal file
10
cmii-uav-watchdog/config/config.yaml
Normal file
@@ -0,0 +1,10 @@
|
||||
server:
|
||||
port: "8080"
|
||||
|
||||
auth:
|
||||
secret: "your-secret-key-for-totp"
|
||||
auth_file: "./data/auth.json"
|
||||
time_offset_allowed: 3600 # 允许的时间偏移,单位秒
|
||||
|
||||
watchdog_center:
|
||||
url: "http://center-service:8080/api"
|
||||
Reference in New Issue
Block a user