remove extra defaults in app component

pull/430/head
vaaski 2024-05-02 13:50:00 +02:00
parent e126e9c8d1
commit b1422e5102
No known key found for this signature in database
GPG Key ID: A588737BA9EB4320
1 changed files with 2 additions and 2 deletions

View File

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