refactor: remove duplicate CSP

use netlify.toml
This commit is contained in:
curben 2019-05-26 15:01:06 +09:30
parent 2523df4251
commit 28111477b7
1 changed files with 0 additions and 2 deletions

View File

@ -2,8 +2,6 @@
<html lang="<%= theme.language %>"> <html lang="<%= theme.language %>">
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<%/* CSP */%>
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; child-src 'none'; connect-src 'none'; font-src 'none'; frame-src 'none'; img-src https: 'self'; manifest-src 'none'; media-src 'none'; object-src 'none'; prefetch-src 'none'; script-src https://cdnjs.cloudflare.com 'self'; style-src https://cdnjs.cloudflare.com 'self'; worker-src 'none'; base-uri 'none'; form-action 'none'; block-all-mixed-content;">
<% <%
let title = page.title let title = page.title