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) {