envs
This commit is contained in:
@@ -6,9 +6,6 @@ export const env = createEnv({
|
|||||||
* Specify your server-side environment variables schema here. This way you can ensure the app
|
* Specify your server-side environment variables schema here. This way you can ensure the app
|
||||||
* isn't built with invalid env vars.
|
* isn't built with invalid env vars.
|
||||||
*/
|
*/
|
||||||
shared: {
|
|
||||||
NEXT_PUBLIC_SENTRY_DSN: z.string().url(),
|
|
||||||
},
|
|
||||||
server: {
|
server: {
|
||||||
DATABASE_URL: z
|
DATABASE_URL: z
|
||||||
.string()
|
.string()
|
||||||
@@ -28,7 +25,7 @@ export const env = createEnv({
|
|||||||
* `NEXT_PUBLIC_`.
|
* `NEXT_PUBLIC_`.
|
||||||
*/
|
*/
|
||||||
client: {
|
client: {
|
||||||
// NEXT_PUBLIC_CLIENTVAR: z.string(),
|
NEXT_PUBLIC_SENTRY_DSN: z.string().url(),
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user