Skip to content

Commit db616f2

Browse files
committed
csp fix
1 parent 4ca3492 commit db616f2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

public/assets/js/app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373

7474
// COMMON - SECURITY
7575
referrer_policy: 'no-referrer-when-downgrade',
76-
content_security_policy: 'default-src * data: \'unsafe-eval\' \'unsafe-inline\'',
76+
content_security_policy: 'default-src * data: \'unsafe-inline\'',
7777
server_tokens: false,
7878
limit_req: false,
7979

public/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<meta property="og:url" content="https://nginxconfig.io">
1616
<meta property="og:image" content="https://nginxconfig.io/assets/img/share.png">
1717
</head>
18-
<body ng-app="NginxConfigIoApp" ng-controller="NginxConfigIoController">
18+
<body ng-app="NginxConfigIoApp" ng-controller="NginxConfigIoController" ng-csp>
1919
<header>
2020
<div class="container">
2121
<div class="loader" ng-if="!masonryInit">

0 commit comments

Comments
 (0)