Skip to content

Commit

Permalink
feat: add csp header (#91)
Browse files Browse the repository at this point in the history
  • Loading branch information
ykzts committed Dec 12, 2019
1 parent 716febb commit 87c7d59
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion now.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@
{
"continue": true,
"headers": {
"cache-control": "max-age=600, s-maxage=120"
"cache-control": "max-age=600, s-maxage=120",
"content-security-policy": "base-uri 'none'; connect-src 'self' https:; default-src 'none'; form-action 'none'; font-src https://fonts.gstatic.com; frame-ancestors 'none'; img-src 'self' data:; manifest-src 'self'; object-src 'none'; script-src 'self' 'unsafe-inline'; style-src 'unsafe-inline' https://fonts.googleapis.com; worker-src 'self'",
"referrer-policy": "same-origin, strict-origin-when-cross-origin"
},
"src": "/.*"
},
Expand Down

0 comments on commit 87c7d59

Please sign in to comment.