Skip to content

Commit 0ab77a8

Browse files
authored
chore: use url() method directly (#1415)
1 parent e5b3ecc commit 0ab77a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/nextjs/src/env.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export const env = createEnv({
1616
* This way you can ensure the app isn't built with invalid env vars.
1717
*/
1818
server: {
19-
POSTGRES_URL: z.string().url(),
19+
POSTGRES_URL: z.url(),
2020
},
2121

2222
/**

0 commit comments

Comments
 (0)