mirror of https://github.com/buster-so/buster.git
Update next security policy
This commit is contained in:
parent
48c4d82d34
commit
577ffaef1e
|
@ -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('; ');
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -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
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue