Thursday, 4 May 2017

How do you make a url a download link in Angular 2

I have to follow these steps to verify my app, but I am having trouble making a route to link to my file.

http://imgur.com/a/X2ZXU

The link above is the instructions I was given, I created the text file and I have it in my assets folder in my angular 2 app. However I have no idea how to create the route http://www.example.com/riot.txt so that it refers to my txt document file. Can anyone point me in the right direction? I'm using Angular 2.



via Eric Chu

No comments:

Post a Comment