fixed oauth and uploading and file details

This commit is contained in:
2025-04-14 11:59:54 +02:00
parent 799c7d7cec
commit fbf1c95b1b
4 changed files with 8 additions and 6 deletions
+2
View File
@@ -19,6 +19,7 @@ export const env = createEnv({
NODE_ENV: z
.enum(["development", "test", "production"])
.default("development"),
PAGE_URL: z.string().url(),
},
/**
@@ -40,6 +41,7 @@ export const env = createEnv({
AUTH_DISCORD_SECRET: process.env.AUTH_DISCORD_SECRET,
DATABASE_URL: process.env.DATABASE_URL,
NODE_ENV: process.env.NODE_ENV,
PAGE_URL: process.env.PAGE_URL,
},
/**
* Run `build` or `dev` with `SKIP_ENV_VALIDATION` to skip env validation. This is especially