Skip to content

Commit

Permalink
chore: enforce url constraint in env config
Browse files Browse the repository at this point in the history
  • Loading branch information
ernestoresende committed May 28, 2023
1 parent f841106 commit 335c86c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/next-graphql/packages/config/env.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export const env = createEnv({
clientPrefix: 'NEXT_',
client: {},
server: {
SITE_URL: z.string(),
SITE_URL: z.string().url(),
GOOGLE_CLIENT_ID: z.string(),
GOOGLE_CLIENT_SECRET: z.string(),
DATABASE_HOST: z.string(),
Expand Down

0 comments on commit 335c86c

Please sign in to comment.