Skip to content

This application is a demonstration prototype just to show how to write a Content Security Policy.

Notifications You must be signed in to change notification settings

octo-technology/csp-angular

 
 

Repository files navigation

CSP Angular

This application is a demonstration prototype just to show how to write a Content Security Policy.

For local environement

Write your CSP in src/environments/environment.ts and run npm start.

Customize your CSP to resolve all errors, without using script-src: unsafe-eval.

For production environement

Write your CSP in src/environments/environment.prod.ts and run npm run build.

Then, run npm run serve to expose the application. Adjust your CSP to resolve all errors, without using script-src: unsafe-eval.

About

This application is a demonstration prototype just to show how to write a Content Security Policy.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 70.9%
  • JavaScript 10.8%
  • HTML 9.5%
  • Dockerfile 5.0%
  • SCSS 3.8%