From 11a82652217c8bcf545a48fc67f85c1d26a5f619 Mon Sep 17 00:00:00 2001 From: Ayo Date: Wed, 13 May 2026 21:11:47 +0200 Subject: [PATCH] feat: bring back real user monitoring for web perf --- astro.config.mjs | 15 --------------- src/layouts/Layout.astro | 4 ++-- 2 files changed, 2 insertions(+), 17 deletions(-) diff --git a/astro.config.mjs b/astro.config.mjs index feccf92..46d28c5 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -14,21 +14,6 @@ export default defineConfig({ domains: ['cdn.bsky.app', 'media.ayco.io'], remotePatterns: [{ protocol: 'https' }], }, - // security: { - // csp: { - // directives: ["default-src: 'self'"], - // // insert additional directives - // // directives: ["default-src: 'self'"], - // scriptDirective: { - // resources: [ - // 'self', - // 'https://static.cloudflareinsights.com/beacon.min.js', - // ], - // // Toggle the keyword `strict-dynamic` - // // strictDynamic: true, - // }, - // }, - // }, integrations: [ sitemap(), serviceWorker({ diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index fd83143..f65e6ed 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -127,10 +127,10 @@ const ogFileType = 'image/png' } - + data-cf-beacon='{"token": "a39ad600e67a4db8960c639d2552435c"}'>