This commit is contained in:
Alex Shnitman 2024-05-02 21:31:44 +03:00
parent 63f11fb1ea
commit 633cfb7ba2
1 changed files with 1 additions and 1 deletions

View File

@ -233,7 +233,7 @@ export class AppComponent implements AfterViewInit {
} }
buildDownloadLink(download: Download) { buildDownloadLink(download: Download) {
let baseDir = this.downloads.configuration["PUBLIC_HOST_URL"]'; let baseDir = this.downloads.configuration["PUBLIC_HOST_URL"];
if (download.quality == 'audio' || download.filename.endsWith('.mp3')) { if (download.quality == 'audio' || download.filename.endsWith('.mp3')) {
baseDir = this.downloads.configuration["PUBLIC_HOST_AUDIO_URL"]; baseDir = this.downloads.configuration["PUBLIC_HOST_AUDIO_URL"];
} }