diff --git a/scripts/switch-env.sh b/scripts/switch-env.sh index 20c5430..e7b11d3 100755 --- a/scripts/switch-env.sh +++ b/scripts/switch-env.sh @@ -13,9 +13,8 @@ ENV_FILE="$PROJECT_ROOT/.env" # ---------- 配置 ---------- # 1Panel 管理的 OpenResty 容器的实际配置文件路径 -BASE_DIR="/opt/1panel/apps/openresty/openresty" -PROXY_DIR="${BASE_DIR}/www/sites/xmclassmate.top/proxy" -ROOT_CONF="${PROXY_DIR}/root.conf" +# 容器内路径(host: /opt/1panel/apps/openresty/openresty/www/sites/...) +ROOT_CONF="/www/sites/xmclassmate.top/proxy/root.conf" NGINX_CONTAINER="1Panel-openresty-ABu5" SSH_HOST="root@1panel-server" diff --git a/src/handlers/meta.rs b/src/handlers/meta.rs index 05fd6ee..1d0f1c8 100644 --- a/src/handlers/meta.rs +++ b/src/handlers/meta.rs @@ -192,9 +192,14 @@ const HTML_TEMPLATE: &str = r#"

访问方式

-

- 请在微信中搜索「大气稳定度判定」小程序,或扫描下方二维码打开。 -

+
+

+ 请在微信中搜索「大气稳定度判定」小程序,或扫描下方二维码打开。 +

+ 微信小程序二维码 +

本页面为后端服务状态页,小程序功能请通过微信客户端访问。