Skip to content
This repository has been archived by the owner on Jan 8, 2025. It is now read-only.

Commit

Permalink
Merge pull request #51 from chris-die/master
Browse files Browse the repository at this point in the history
Adds new domains to default CSP headers.
  • Loading branch information
chris-die authored Jan 10, 2019
2 parents a4747f1 + 593ed3e commit b3199f2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/Slim/Middleware/CspHeaders.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,8 @@ protected function getBaseCspSettings(): array
'https://m.cdn.sera.to',
'https://u.cdn.sera.to',
'https://www.google-analytics.com',
'data:'
'data:',
'https://www.facebook.com'
],
'font-src' => [
'https://static.serato.com',
Expand All @@ -112,7 +113,8 @@ protected function getBaseCspSettings(): array
'https://maxcdn.bootstrapcdn.com/font-awesome/'
],
'frame-src' => [
'https://www.google.com/recaptcha/'
'https://www.google.com/recaptcha/',
'https://vars.hotjar.com/'
]
];
}
Expand Down

0 comments on commit b3199f2

Please sign in to comment.