diff options
author | Alex Shnitman <alexta69@gmail.com> | 2023-02-10 23:35:09 +0200 |
---|---|---|
committer | Alex Shnitman <alexta69@gmail.com> | 2023-02-10 23:35:09 +0200 |
commit | 7fd2be48f7cf53daa0209df55137b3a55539484c (patch) | |
tree | 80d4003bc989b9e9a2615355eda1b327a8429a8b | |
parent | Merge remote-tracking branch 'origin/master' into download_to_device (diff) | |
download | metube-7fd2be48f7cf53daa0209df55137b3a55539484c.tar.gz metube-7fd2be48f7cf53daa0209df55137b3a55539484c.tar.bz2 metube-7fd2be48f7cf53daa0209df55137b3a55539484c.zip |
download path fixes
-rw-r--r-- | ui/src/app/app.component.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/src/app/app.component.html b/ui/src/app/app.component.html index f8c62d9..79d87ca 100644 --- a/ui/src/app/app.component.html +++ b/ui/src/app/app.component.html @@ -1,6 +1,6 @@ <nav class="navbar navbar-expand-md navbar-dark bg-dark"> <div class="container-fluid"> - <a class="navbar-brand" href="#">Youtube downloader</a> + <a class="navbar-brand" href="#">MeTube</a> <!-- <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarsDefault" aria-controls="navbarsDefault" aria-expanded="false" aria-label="Toggle navigation"> <span class="navbar-toggler-icon"></span> @@ -137,7 +137,7 @@ <button *ngIf="download.value.status == 'error'" type="button" class="btn btn-link" (click)="retryDownload(download.key, download.value.url, download.value.quality, download.value.folder)"><fa-icon [icon]="faRedoAlt"></fa-icon></button> </td> <td> - <a *ngIf="!!download.value.filename; else noDownloadLink" href="download/{{download.value.filename | encodeURIComponent}}" download target="_blank"><fa-icon [icon]="faDownload"></fa-icon></a> + <a *ngIf="!!download.value.filename; else noDownloadLink" href="{{buildDownloadLink(download.value)}}" download><fa-icon [icon]="faDownload"></fa-icon></a> </td> <td> <a href="{{download.value.url}}" target="_blank"><fa-icon [icon]="faExternalLinkAlt"></fa-icon></a> |