From b1422e51025174a2b078e27010dc54ab65aa8ffa Mon Sep 17 00:00:00 2001 From: vaaski Date: Thu, 2 May 2024 13:50:00 +0200 Subject: [PATCH] remove extra defaults in app component --- ui/src/app/app.component.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/src/app/app.component.ts b/ui/src/app/app.component.ts index fc3eeb8..8299f5c 100644 --- a/ui/src/app/app.component.ts +++ b/ui/src/app/app.component.ts @@ -233,9 +233,9 @@ export class AppComponent implements AfterViewInit { } buildDownloadLink(download: Download) { - let baseDir = this.downloads.configuration["PUBLIC_HOST_URL"] ?? 'download/'; + let baseDir = this.downloads.configuration["PUBLIC_HOST_URL"]'; if (download.quality == 'audio' || download.filename.endsWith('.mp3')) { - baseDir = this.downloads.configuration["PUBLIC_HOST_AUDIO_URL"] ?? 'audio_download/'; + baseDir = this.downloads.configuration["PUBLIC_HOST_AUDIO_URL"]; } if (download.folder) {