mirror of
https://github.com/immich-app/immich
synced 2025-10-17 18:19:27 +00:00
fix(server): valid backups with DB_URL env variable config (#21669)
This commit is contained in:
parent
27751f8fd4
commit
255dabc239
1 changed files with 1 additions and 1 deletions
|
|
@ -118,7 +118,7 @@ export class BackupService extends BaseService {
|
|||
{
|
||||
env: {
|
||||
PATH: process.env.PATH,
|
||||
PGPASSWORD: isUrlConnection ? undefined : config.password,
|
||||
PGPASSWORD: isUrlConnection ? new URL(config.url).password : config.password,
|
||||
},
|
||||
},
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue