docs: clarify server binding address and LAN accessibility in documentation and startup logs

This commit is contained in:
CJACK committed 2026-04-06 00:13:22 +08:00
1 parent bac7345309
commit d9eee5fd2d
5 files changed
+29 -22

No files matched your search

+2 -1
View File
@@ -25,7 +25,8 @@ cp config.example.json config.json
# 3. Run backend
go run ./cmd/ds2api
# Default: http://localhost:5001
# Local access: http://127.0.0.1:5001
# Actual bind: 0.0.0.0:5001, so LAN access is available via your private IP
```
### Frontend Development (WebUI)
+2 -1
View File
@@ -25,7 +25,8 @@ cp config.example.json config.json
# 3. 启动后端
go run ./cmd/ds2api
# 默认监听 http://localhost:5001
# 本地访问 http://127.0.0.1:5001
# 实际绑定 0.0.0.0:5001,可通过局域网 IP 访问
```
### 前端开发(WebUI)