chore: 硬编码公网 IP 地址

This commit is contained in:
hhs
2026-06-14 15:29:02 +08:00
parent f23a425f1e
commit 2bb72096de

View File

@@ -21,12 +21,8 @@ cmd_up() {
info "启动服务..."
docker compose up -d
info "服务已启动"
# 获取公网 IP
PUBLIC_IP=$(curl -s --max-time 5 ifconfig.me 2>/dev/null || curl -s --max-time 5 ip.sb 2>/dev/null || echo "YOUR_SERVER_IP")
info "前端: http://${PUBLIC_IP}:9000"
info "健康检查: http://${PUBLIC_IP}:9000/api/health"
info "前端: http://8.161.227.145:9000"
info "健康检查: http://8.161.227.145:9000/api/health"
}
cmd_down() {