Skip to content

feat: Host 可配置化 — 支持绑定 Tailscale IP#78

Merged
bigmanBass666 merged 1 commit into
mainfrom
feature/host-config
Jul 17, 2026
Merged

feat: Host 可配置化 — 支持绑定 Tailscale IP#78
bigmanBass666 merged 1 commit into
mainfrom
feature/host-config

Conversation

@bigmanBass666

Copy link
Copy Markdown
Contributor

...

- Config 新增 Host 字段,默认 127.0.0.1
- TomlConfig 新增 Host 字段,支持 config.toml 配置
- start.go 不再硬编码 127.0.0.1,改为读取配置
- 所有 CLI 命令 (status/logs/reload) 改用 detectServerHost()
- 新增 FindServerHost + detectServerHost 函数
- config_diff 注册 HOST 字段
@bigmanBass666
bigmanBass666 marked this pull request as ready for review July 17, 2026 21:36
@bigmanBass666
bigmanBass666 merged commit 0a97ddb into main Jul 17, 2026
4 checks passed
@bigmanBass666
bigmanBass666 deleted the feature/host-config branch July 17, 2026 21:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant