mirror of
https://github.com/immich-app/immich.git
synced 2025-12-22 09:15:34 +03:00
fix(server): valid backups with DB_URL env variable config (#21669)
This commit is contained in:
@@ -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,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user