Enable browsing a txt file on my root domain (angular)

i added a file to the root directory next to the index.html page in angular project the file name is ads.txt
i would like to add a line in type script to app-routing.modules.ts to enable me to browse to this page
please advise i am new to angular

const routes: Routes = [
{ path: ‘ads.txt’, ???(what sould i put here? }
]

i would like when browse to http://mydomain/ads.txt the text file should be seen on browser

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.