CSP angepasst
All checks were successful
Build and Deploy Astro App / build_and_deploy (push) Successful in 31s

This commit is contained in:
ebby 2026-10-05 07:47:07 -07:00
parent 155d22a9f3
commit 300c6b3ff9
2 changed files with 7 additions and 3 deletions

View file

@ -16,8 +16,8 @@ const { title, subtitle, text, buttonText, eventString } = Astro.props;
<p>{text}</p>
<slot />
<div id="buttons">
<NavBack client:only="preact" />
<Submit eventString={eventString} text={buttonText} client:only="preact" />
<NavBack client:load />
<Submit eventString={eventString} text={buttonText} client:load />
</div>
</div>
</div>

View file

@ -5,7 +5,11 @@ import "../styles/global.css";
<html lang="de">
<head>
<meta charset="utf-8" />
<meta
charset="utf-8"
http-equiv="Content-Security-Policy"
content="script-src 'self' 'unsafe-inline'"
/>
<link rel="icon" type="image/x-icon" href="/favicon.ico" />
<link
rel="alternate"