fix: cleanup after rebase

This commit is contained in:
Christel Westerberg
2024-02-12 14:04:53 +01:00
parent f7abe2c482
commit 2967f13921
5 changed files with 9 additions and 67 deletions

6
env/schema.mjs vendored
View File

@@ -10,11 +10,11 @@ export const serverSchema = z.object({
CMS_API_KEY: z.string(),
CMS_ENVIRONMENT: z.enum(["development", "production", "staging", "test"]),
CMS_URL: z.string(),
CMS_PREVIEW_URL: z.string().optional(),
CMS_PREVIEW_TOKEN: z.string().optional(),
CMS_PREVIEW_URL: z.string(),
CMS_PREVIEW_TOKEN: z.string(),
NODE_ENV: z.enum(["development", "test", "production"]),
PRINT_QUERY: z.boolean().default(false),
});
})
/**
* You can't destruct `process.env` as a regular object in the Next.js