This commit is contained in:
vet
2026-04-14 11:05:46 +07:00
parent 2e0af83599
commit 6c30dddbbe
4 changed files with 86 additions and 15 deletions

View File

@@ -124,8 +124,10 @@ _start_fe() {
fi
info "启动 ${BOLD}$name${NC} ..."
if [[ "$name" == "pc" ]] && [[ -n "${PC_BACKEND_ORIGIN:-}" ]]; then
info " pc 后端 PC_BACKEND_ORIGIN=${PC_BACKEND_ORIGIN}(注入 VITE_*,不写 pc 目录)"
if [[ "$name" == "pc" ]]; then
pc_export_vite_backend_env
pc_print_vite_backend_env
pc_check_nginx_gateway
fi
# 写日志分隔符