From f56bbdc7b4f341925f811f9e6795f1f5abda817c Mon Sep 17 00:00:00 2001 From: Bob Bao Date: Mon, 13 Jan 2025 16:54:54 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20chore(Dockerfile):=20remove=20do?= =?UTF-8?q?tenv=20support=20from=20Dockerfile=20for=20cleaner=20configurat?= =?UTF-8?q?ion=20management?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 3 --- pages/index.tsx | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index c244d82..ff3e531 100644 --- a/Dockerfile +++ b/Dockerfile @@ -41,8 +41,5 @@ EXPOSE 3000 ENV PORT 3000 ENV HOSTNAME "0.0.0.0" -# 启用 .env 文件支持 -ENV DOTENV_PATH="/app/.env" - # 启动服务 CMD ["node", "server.js"] diff --git a/pages/index.tsx b/pages/index.tsx index 68b525c..f43dd8d 100644 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -137,7 +137,7 @@ const Home: NextPage = () => { const opacity = useTransform(scrollYProgress, [0, 0.3], [1, 0]); - const baseUrl = process.env.NEXT_PUBLIC_BASE_URL || 'https://gengar.baobo.me'; + const baseUrl = process.env.NEXT_PUBLIC_BASE_URL || 'https://pearl.baobo.me'; return (