Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion server/.env.sample
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion server/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ serve(
},
);

const isProduction = process.env.NODE_ENV === "prod";
const isProduction = process.env.NODE_ENV === "production";

export const cookieOptions = {
path: "/",
Expand Down
Loading