try checkOrigin:false? maybe brevo

This commit is contained in:
saiminh 2026-01-16 17:57:48 +13:00
parent 7211f68b07
commit 9fe259755d
2 changed files with 3 additions and 6 deletions

View file

@ -5,9 +5,6 @@
<link rel="icon" href="%sveltekit.assets%/favicon.png" /> <link rel="icon" href="%sveltekit.assets%/favicon.png" />
<link rel="preload" as="font" type="font/woff2" href="/fonts/Stratos-Regular.woff2" crossorigin> <link rel="preload" as="font" type="font/woff2" href="/fonts/Stratos-Regular.woff2" crossorigin>
<link rel="preload" as="font" type="font/woff2" href="/fonts/Stratos-BoldItalic.woff2" crossorigin> <link rel="preload" as="font" type="font/woff2" href="/fonts/Stratos-BoldItalic.woff2" crossorigin>
<link rel="preload" as="font" type="font/woff2" href="/fonts/PPFormula-Medium.woff2" crossorigin>
<link rel="preload" as="font" type="font/woff2" href="/fonts/PPFormula-Extrabold.woff2" crossorigin>
<meta name="viewport" content="width=device-width" />
%sveltekit.head% %sveltekit.head%
</head> </head>
<body data-sveltekit-preload-data="hover"> <body data-sveltekit-preload-data="hover">

View file

@ -16,9 +16,9 @@ const config = {
], ],
kit: { kit: {
// adapter-auto only supports some environments, see https://kit.svelte.dev/docs/adapter-auto for a list. csrf: {
// If your environment is not supported or you settled on a specific environment, switch out the adapter. checkOrigin: false // temporary for testing; use trusted origins in prod
// See https://kit.svelte.dev/docs/adapters for more information about adapters. },
adapter: adapter({ adapter: adapter({
// Output directory for the built server // Output directory for the built server
out: 'build', out: 'build',