mirror of
https://github.com/immich-app/immich.git
synced 2025-11-26 08:15:17 -05:00
fix(server): valid backups with DB_URL env variable config (#21669)
This commit is contained in:
parent
27751f8fd4
commit
255dabc239
@ -118,7 +118,7 @@ export class BackupService extends BaseService {
|
|||||||
{
|
{
|
||||||
env: {
|
env: {
|
||||||
PATH: process.env.PATH,
|
PATH: process.env.PATH,
|
||||||
PGPASSWORD: isUrlConnection ? undefined : config.password,
|
PGPASSWORD: isUrlConnection ? new URL(config.url).password : config.password,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user