test
This commit is contained in:
@@ -158,6 +158,10 @@ _start_fe() {
|
||||
success " ✓ $name (PID=$(cat "$pidfile")) ${FE_PORT[$name]} → $logfile"
|
||||
if [[ "$name" == "pc" ]]; then
|
||||
pc_check_wasm_assets "http://${DEPLOY_TEST_IP}:5173"
|
||||
if [[ "${PC_BACKEND_ORIGIN:-}" == https://* ]]; then
|
||||
pc_check_wasm_assets "${PC_BACKEND_ORIGIN}"
|
||||
info " PC 浏览器入口建议使用: ${PC_BACKEND_ORIGIN%/}/(HTTPS + COOP/COEP;首次访问需接受自签名证书)"
|
||||
fi
|
||||
fi
|
||||
else
|
||||
error " ✗ $name 启动失败,查看日志:"
|
||||
@@ -198,6 +202,7 @@ if [[ "$TARGET" == "all" ]]; then
|
||||
echo ""
|
||||
echo -e "${BOLD}访问地址:${NC}"
|
||||
echo " PC: http://${DEPLOY_TEST_IP}:5173 (默认 yarn dev:web;Electron 用 PC_ELECTRON=1 或 pc 目录内 yarn dev)"
|
||||
echo " PC HTTPS: https://${DEPLOY_TEST_IP}/ (OpenIM WASM DB worker 推荐入口;首次访问需接受自签名证书)"
|
||||
echo " H5: http://${DEPLOY_TEST_IP}:3003"
|
||||
echo " CMS: http://${DEPLOY_TEST_IP}:8001"
|
||||
echo " Build CMS: http://${DEPLOY_TEST_IP}:8002"
|
||||
|
||||
Reference in New Issue
Block a user