:(
All checks were successful
Docker Deploy / build-and-push (push) Successful in 3m29s

This commit is contained in:
2026-01-30 14:41:29 -07:00
parent 7c24cf61d5
commit f8555413e1
3 changed files with 16 additions and 36 deletions

View File

@@ -5,31 +5,38 @@ import node from "@astrojs/node";
import tailwindcss from "@tailwindcss/vite";
import icon from "astro-icon";
import yeskunallumami from "@yeskunall/astro-umami";
import partytown from "@astrojs/partytown";
// https://astro.build/config
const isDev = process.env.NODE_ENV === "development";
export default defineConfig({
output: "server",
prefetch: true,
build: {
inlineStylesheets: "always",
inlineStylesheets: "auto",
},
integrations: [
vue(),
icon(),
partytown(),
yeskunallumami({
id: "c7e24af4-5f14-4881-9c25-85a97abda9f1",
hostUrl: "https://analytics.atri.dad",
withPartytown: true,
}),
],
security: {
csp: {
algorithm: "SHA-512",
},
checkOrigin: true,
csp: isDev
? undefined
: {
algorithm: "SHA-512",
scriptDirective: {
resources: ["'self'", "https://analytics.atri.dad"],
},
directives: [
"connect-src 'self' https://analytics.atri.dad",
"child-src 'self' blob:",
],
},
},
adapter: node({