Skip to content

Commit f181fdb

Browse files
committed
fix env issue in apps/api
1 parent f55b012 commit f181fdb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/api/src/env.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { z } from "zod";
33

44
export const env = createEnv({
55
server: {
6-
PORT: z.number().default(8787),
6+
PORT: z.coerce.number().default(8787),
77
NODE_ENV: z
88
.enum(["development", "test", "production"])
99
.default("development"),

0 commit comments

Comments
 (0)