From b59101abf15dc3591727f3527e7cd447fce66f71 Mon Sep 17 00:00:00 2001 From: wangjia <809946525@qq.com> Date: Sun, 9 Aug 2026 00:54:03 +0800 Subject: [PATCH] =?UTF-8?q?chore(scripts):=20local=5Ftest=20=E9=BB=98?= =?UTF-8?q?=E8=AE=A4=20API=20=E6=94=B9=E6=8C=87=E7=94=9F=E4=BA=A7=E5=9F=9F?= =?UTF-8?q?=E5=90=8D(8080=20=E5=85=AC=E7=BD=91=E6=94=B6=E5=8F=A3=E5=90=8E?= =?UTF-8?q?=E6=97=A7=E9=BB=98=E8=AE=A4=E5=A4=B1=E6=95=88)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Fable 5 Claude-Session: https://claude.ai/code/session_01FEVUXAbFT6bF1Qw27RHWoD --- scripts/local_test.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/scripts/local_test.sh b/scripts/local_test.sh index 1f87af1..8e641d2 100755 --- a/scripts/local_test.sh +++ b/scripts/local_test.sh @@ -24,9 +24,10 @@ set -euo pipefail # ─────────── 配置(按需改)─────────── -# 联调控制面。默认指向联调节点;要装生产地址的包用 env 覆盖: -# API_URL=https://api.yanmeiai.com scripts/local_test.sh ipad -API_URL="${API_URL:-http://103.119.13.48:8080}" +# 控制面基址。默认生产(Cloudflare Tunnel);8080 已收口只绑 127.0.0.1,公网直连 +# 不再可用——联调自建控制面时用 env 显式覆盖: +# API_URL=http://<联调地址>:8080 scripts/local_test.sh macos +API_URL="${API_URL:-https://api.yanmeiai.com}" SIGN_ID="Developer ID Application: Yanmei (beijing) Technology Co., Ltd (BYL4KQHMTN)" APP_PROFILE_NAME="Pangolin App DevID" # 主 app 的 Developer ID 描述文件名 SE_PROFILE_NAME="Pangolin PacketTunnel DevID" # PacketTunnel 的描述文件名