mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-06 05:25:48 +01:00
🦺 Set default value for DATABASE_URL
This commit is contained in:
@@ -10,7 +10,7 @@ const env = createEnv({
|
||||
* isn't built with invalid env vars.
|
||||
*/
|
||||
server: {
|
||||
DATABASE_URL: z.string().url(),
|
||||
DATABASE_URL: z.string().url().default('file:../database/db.sqlite'),
|
||||
NEXTAUTH_SECRET:
|
||||
process.env.NODE_ENV === 'production' ? z.string().min(1) : z.string().min(1).optional(),
|
||||
NEXTAUTH_URL: z.preprocess(
|
||||
|
||||
Reference in New Issue
Block a user