Update next security policy

This commit is contained in:
Nate Kelley 2025-04-22 10:32:32 -06:00
parent 48c4d82d34
commit 577ffaef1e
No known key found for this signature in database
GPG Key ID: FD90372AB8D98B4F
2 changed files with 8 additions and 5 deletions

View File

@ -45,7 +45,11 @@ const createCspHeader = (isEmbed = false) => {
// Base URI // Base URI
"base-uri 'self'", "base-uri 'self'",
// Manifest // Manifest
"manifest-src 'self'" "manifest-src 'self'",
// Worker sources
"worker-src 'self' blob: data:",
// Child sources
"child-src 'self' blob: data:"
].join('; '); ].join('; ');
}; };

View File

@ -25,11 +25,10 @@ const options: Partial<PostHogConfig> = {
session_recording: { session_recording: {
recordBody: true recordBody: true
}, },
loaded: (x) => { loaded: () => {
console.log( console.log(
'%c🎉 Posthog loaded! 🚀', '%c🚀 Buster loaded! 🦖',
'background: linear-gradient(to right, #ff6b6b, #4ecdc4); color: white; font-size: 20px; font-weight: bold; padding: 10px; border-radius: 5px;', 'background: linear-gradient(to right, #a21caf, #8b1cb1, #6b21a8); color: white; font-size: 16px; font-weight: bold; padding: 10px; border-radius: 5px;'
x
); );
} }
}; };