Try removing inline style

This commit is contained in:
Ethan Yoo 2024-06-25 19:37:31 -04:00
parent d8acaf8f3d
commit 2b9d2705c9
Signed by: ethan
GPG Key ID: 70596474C5D20F85
2 changed files with 1 additions and 2 deletions

View File

@ -8,7 +8,7 @@ Header always set X-Content-Type-Options "nosniff"
Header always set Strict-Transport-Security "max-age=31536000; includeSubDomains; preload" "expr=%{req_novary:X-Forwarded-Proto}=='https'"
Header always set Referrer-Policy "no-referrer"
Header always set Permissions-Policy "accelerometer=(), ambient-light-sensor=(), autoplay=(), battery=(), camera=(), cross-origin-isolated=(), display-capture=(), document-domain=(), encrypted-media=(), execution-while-not-rendered=(), execution-while-out-of-viewport=(), fullscreen=(), geolocation=(), gyroscope=(), keyboard-map=(), magnetometer=(), microphone=(), midi=(), navigation-override=(), payment=(), picture-in-picture=(), publickey-credentials-get=(), screen-wake-lock=(), sync-xhr=(), usb=(), web-share=(), xr-spatial-tracking=()"
Header always set Content-Security-Policy "default-src 'none'; img-src 'self'; style-src 'self' 'sha256-hgWmJ4N/XjVDdpPaJ9SyNBobcUm30V1q+z6yvJzFRlk=' 'sha256-LjAT7bhFv1zP58aCXKasCTIJMEOvFjjXkmhr/ekDANM='; base-uri 'self'; connect-src https://analytics.ethanyoo.com/ 'self'; form-action https://duckduckgo.com; frame-ancestors 'none'; script-src-elem https://analytics.ethanyoo.com/ 'self' 'sha256-RzxOh5mdjWlyRcbdPibUQG7O7WXZSthwslaZe52R7jE='; worker-src 'self'; upgrade-insecure-requests;"
Header always set Content-Security-Policy "default-src 'none'; img-src 'self'; style-src 'self' 'sha256-LjAT7bhFv1zP58aCXKasCTIJMEOvFjjXkmhr/ekDANM='; base-uri 'self'; connect-src https://analytics.ethanyoo.com/ 'self'; form-action https://duckduckgo.com; frame-ancestors 'none'; script-src-elem https://analytics.ethanyoo.com/ 'self' 'sha256-RzxOh5mdjWlyRcbdPibUQG7O7WXZSthwslaZe52R7jE='; worker-src 'self'; upgrade-insecure-requests;"
# Set custom error page: https://faq.nearlyfreespeech.net/full/error
ErrorDocument 404 /404.html

View File

@ -8,7 +8,6 @@
{{- with .RelPermalink }}<meta name="url" content="{{ . }}"/><meta property="og:url" content="{{ . }}"/>{{- end }}
<link rel="openid.delegate" href="https://ethanyoo.com/"/><link rel="openid.server" href="https://openid.indieauth.com/openid"/><link rel="webmention" href="https://webmention.io/ethanyoo.com/webmention"/>
{{- with .OutputFormats.Get "RSS" -}}{{ printf `<link rel="%s" type="%s" href="%s" title="%s">` .Rel .MediaType.Type .RelPermalink $.Site.Title | safeHTML }}{{ end }}
<style>body{background:#10151a}html{visibility:hidden;opacity:0;}</style>
<link rel="stylesheet" href="/css/style.css?rnd={{ now.Unix }}">
</head>
<body>