Fix downloading created backups while in dev env
Use absolute url to ensure that the backup file gets requested from the servers domain
This commit is contained in:
@@ -135,7 +135,7 @@ export function Backup() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const link = document.createElement('a');
|
const link = document.createElement('a');
|
||||||
link.href = backupFileUrl;
|
link.href = requestManager.getValidUrlFor(backupFileUrl, '');
|
||||||
link.download = '';
|
link.download = '';
|
||||||
document.body.appendChild(link);
|
document.body.appendChild(link);
|
||||||
link.click();
|
link.click();
|
||||||
|
|||||||
Reference in New Issue
Block a user