diff --git a/.gitignore b/.gitignore index 7b8da95..fc6edee 100644 --- a/.gitignore +++ b/.gitignore @@ -24,6 +24,9 @@ .DS_Store *.pem +# pm2 +/logs + # debug npm-debug.log* yarn-debug.log* diff --git a/src/i18n/locales/zh/entry.json b/src/i18n/locales/zh/entry.json index 05ca2d1..5785000 100644 --- a/src/i18n/locales/zh/entry.json +++ b/src/i18n/locales/zh/entry.json @@ -3,7 +3,7 @@ "backgroundAlt": "页头背景" }, "loading": { - "title": "正在进入彩票大厅", + "title": "正在进入彩票大厅(前端测试标记)", "progress": "进度" }, "steps": { @@ -29,7 +29,7 @@ "retryProgress": "正在重试({{current}}/{{total}})…" }, "failure": { - "title": "授权失败", + "title": "授权失败111", "subtitle": "无法完成授权,请重试。", "detailsTitle": "失败详情", "table": { diff --git a/src/lib/lottery-api-base.ts b/src/lib/lottery-api-base.ts index f49c745..951a83e 100644 --- a/src/lib/lottery-api-base.ts +++ b/src/lib/lottery-api-base.ts @@ -2,9 +2,7 @@ const DEFAULT_LOTTERY_API_ORIGIN = "http://127.0.0.1:8000"; /** Laravel 根地址(无尾部 `/`),仅供 Next 本地开发代理与 middleware 服务端请求。 */ export function lotteryApiOrigin(): string { - const configured = - process.env.LOTTERY_API_UPSTREAM?.trim() || - process.env.NEXT_PUBLIC_LOTTERY_API_BASE_URL?.trim(); + const configured = process.env.LOTTERY_API_UPSTREAM?.trim(); return (configured || DEFAULT_LOTTERY_API_ORIGIN).replace(/\/$/, ""); }