The Wayback Machine - https://web.archive.org/web/20210320071647/https://github.com/electron/electron-quick-start/commit/0ed07b8a7b21da2c9903769af44cb3a49c49fd68
Skip to content
Permalink
Browse files

security: add csp

  • Loading branch information
codebytere committed Nov 13, 2019
1 parent 195aab4 commit 0ed07b8a7b21da2c9903769af44cb3a49c49fd68
Showing with 3 additions and 0 deletions.
  1. +3 −0 index.html
@@ -2,6 +2,9 @@
<html>
<head>
<meta charset="UTF-8">
<!-- https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP -->
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'self'">
<meta http-equiv="X-Content-Security-Policy" content="default-src 'self'; script-src 'self'">
<title>Hello World!</title>
</head>
<body>

0 comments on commit 0ed07b8

Please sign in to comment.