I added app-ads.txt to src folder of my project.
In angular.json added "src/app-ads.txt"
to "assets"
, that is:
"assets": [
....
"src/app-ads.txt"
],
...
Next step, I deploy the project to Firebase hosting:
npm install -g firebase-tools
firebase login
firebase init
- during init wrote the "dist"
ng build --prod --localize
firebase deploy
After command number 5 in dist folder has 5 localized projects ().
If open any folder inside has an app-ads.txt file ().
But after deploying the file is missing.
How to fix it?