Merge branch 'master' into VM/RED-3780

This commit is contained in:
Valentin Mihai 2022-04-06 12:15:15 +03:00
commit 5bd93c924e
3 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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.