RED-3785 - changed ott dld path
This commit is contained in:
parent
4a338e7a4c
commit
b9bc05e015
@ -48,7 +48,7 @@ export class FileDownloadService extends EntitiesService<DownloadStatus, IDownlo
|
||||
async performDownload(status: DownloadStatus) {
|
||||
const token = await firstValueFrom(this.generateToken(status.storageId));
|
||||
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.target = '_blank';
|
||||
this._logger.info('[DOWNLOAD] Downloading with link: ', anchor.href);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user