Merge branch 'master' into VM/RED-3780
This commit is contained in:
commit
5bd93c924e
@ -48,7 +48,7 @@ export class FileDownloadService extends EntitiesService<DownloadStatus, IDownlo
|
|||||||
async performDownload(status: DownloadStatus) {
|
async performDownload(status: DownloadStatus) {
|
||||||
const token = await firstValueFrom(this.generateToken(status.storageId));
|
const token = await firstValueFrom(this.generateToken(status.storageId));
|
||||||
const anchor = document.createElement('a');
|
const anchor = document.createElement('a');
|
||||||
anchor.href = `${this._configService.values.API_URL}/async/download/${token.value}`;
|
anchor.href = `${this._configService.values.API_URL}/async/download/with-ott/${token.value}`;
|
||||||
anchor.download = status.filename;
|
anchor.download = status.filename;
|
||||||
anchor.target = '_blank';
|
anchor.target = '_blank';
|
||||||
this._logger.info('[DOWNLOAD] Downloading with link: ', anchor.href);
|
this._logger.info('[DOWNLOAD] Downloading with link: ', anchor.href);
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "redaction",
|
"name": "redaction",
|
||||||
"version": "3.400.0",
|
"version": "3.401.0",
|
||||||
"private": true,
|
"private": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user