From 67f45a604651743505d8332a7a9b13aeb34af96d Mon Sep 17 00:00:00 2001 From: nakaterm <104970808+nakaterm@users.noreply.github.com> Date: Tue, 8 Sep 2026 17:00:30 +0900 Subject: [PATCH] =?UTF-8?q?chore:=20prod=20=E2=86=92=20production=20?= =?UTF-8?q?=E3=81=AB=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/.env.sample | 2 +- server/src/main.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/server/.env.sample b/server/.env.sample index 6e54204..67c5cde 100644 --- a/server/.env.sample +++ b/server/.env.sample @@ -1,5 +1,5 @@ DATABASE_URL=postgresql://postgres:password@localhost:5432/itsuhima_dev CORS_ALLOW_ORIGINS=http://localhost:5173 DOMAIN=localhost -NODE_ENV=dev # dev or prod +NODE_ENV=dev # dev or production COOKIE_SECRET=your-random-secret-key-for-development diff --git a/server/src/main.ts b/server/src/main.ts index 4142500..69f937f 100644 --- a/server/src/main.ts +++ b/server/src/main.ts @@ -52,7 +52,7 @@ serve( }, ); -const isProduction = process.env.NODE_ENV === "prod"; +const isProduction = process.env.NODE_ENV === "production"; export const cookieOptions = { path: "/",