fix(lib): cast process.env when assigning fallback DATABASE_URL
This commit is contained in:
parent
c8afba25c7
commit
96bf906d52
1 changed files with 1 additions and 1 deletions
|
|
@ -15,7 +15,7 @@ export function getDatabaseUrl(): string {
|
|||
}
|
||||
|
||||
if (!process.env.DATABASE_URL) {
|
||||
process.env.DATABASE_URL = getDatabaseUrl();
|
||||
(process.env as Record<string, string | undefined>).DATABASE_URL = getDatabaseUrl();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue