test
This commit is contained in:
@@ -262,7 +262,7 @@ pc_print_vite_backend_env() {
|
||||
info " VITE_ADMIN_URL=${VITE_ADMIN_URL:-${PC_VITE_ADMIN_URL:-<empty>}}"
|
||||
|
||||
if [[ "$PC_BACKEND_ORIGIN" == http://* ]] && [[ "$PC_BACKEND_ORIGIN" != http://127.0.0.1* ]] && [[ "$PC_BACKEND_ORIGIN" != http://localhost* ]]; then
|
||||
warn " PC_BACKEND_ORIGIN 仍是 HTTP 公网入口;OpenIM WASM DB worker 可能继续 initDB 超时。建议改为 https://${VITE_BASE_DOMAIN}"
|
||||
info " PC 使用 HTTP 公网入口: ${PC_BACKEND_ORIGIN}"
|
||||
fi
|
||||
}
|
||||
|
||||
@@ -283,7 +283,7 @@ pc_check_nginx_gateway() {
|
||||
success " Nginx 网关可达: ${o}/nginx-health"
|
||||
else
|
||||
warn " Nginx 网关不可达: ${o}/nginx-health"
|
||||
warn " PC WebSocket 默认连 ${VITE_WS_URL:-ws://<host>/msg_gateway};请确认已执行 sudo ./deploy-test/00-init-tools.sh nginx,并放行 TCP 80/443"
|
||||
warn " PC WebSocket 默认连 ${VITE_WS_URL:-ws://<host>/msg_gateway};请确认已执行 sudo ./deploy-test/00-init-tools.sh nginx,并放行 TCP 80"
|
||||
fi
|
||||
|
||||
pc_probe_msg_gateway "$o"
|
||||
|
||||
Reference in New Issue
Block a user