Showing posts with label Angular. Show all posts
Showing posts with label Angular. Show all posts
Friday, January 24, 2020
Thursday, January 2, 2020
HOW - To add Security headers & web.config for different Environments in Angular
Create web.config files
Go to src/ and create:
- web.dev.config - for DEV
- web.uat.config- for UAT
- web.prod.config - for PROD
- web.config - just an empty file to satisfy angular.json assets in architect → build → options.
The example of web.dev.config (the most important part is the Content Security Policy).
Subscribe to:
Posts (Atom)

