Get the domains used for your site and generate the CSP (Content Security Policy) header
- Install the deps
yarn
# or
npm install
- Run the code
yarn start
# or
npm run start
- First you'll need the
HAR (Http Archive Content)
file of your website. - Learn how to download file by following this tutorial. Click here.
- Put the
HAR file
into the root directory of project. - Rename
HAR file
tosource.har
- Run
yarn start
- Get your CSP config in
csp.txt