csp adjustments for angular

This commit is contained in:
Kyle Spearrin 2017-06-07 21:18:29 -04:00
parent 3359e78047
commit 9eb4043595
2 changed files with 5 additions and 1 deletions

View File

@ -1,5 +1,5 @@
<!DOCTYPE html> <!DOCTYPE html>
<html ng-app="bit"> <html ng-app="bit" ng-csp>
<head> <head>
<meta charset="utf-8" /> <meta charset="utf-8" />
<meta http-equiv="Content-Security-Policy" content=" <meta http-equiv="Content-Security-Policy" content="
@ -27,6 +27,9 @@
'self' 'self'
https://maxcdn.bootstrapcdn.com https://maxcdn.bootstrapcdn.com
https://fonts.gstatic.com; https://fonts.gstatic.com;
child-src
'self'
https://js.stripe.com;
frame-src frame-src
'self' 'self'
https://js.stripe.com; https://js.stripe.com;

View File

@ -1,5 +1,6 @@
@import url(https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700,300italic,400italic,600italic); @import url(https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700,300italic,400italic,600italic);
@import "../../node_modules/angular-toastr/src/toastr.less"; @import "../../node_modules/angular-toastr/src/toastr.less";
@import (less) "../../node_modules/angular/angular-csp.css";
/* Start AdminLTE */ /* Start AdminLTE */