I am in need of downloading an file may be it is image or pdf. For this I have written below code.
<a href="https://localhost:44344/UploadedFiles/IMG_20190314_205925_3be1d2b3-3bac-4184-8468-995d58d5ff80.jpg">Downlod image</a>
and
<a [routerLink]="https://localhost:44344/UploadedFiles/IMG_20190314_205925_3be1d2b3-3bac-4184-8468-995d58d5ff80.jpg">Downlod image</a>
Both are opening image in same tab, but not direct downloading. I did not find any support for this on google, youtube etc.
How can I do it?