mirror of
https://github.com/movixcorp/MovixOpenSource.git
synced 2026-07-26 20:42:08 +00:00
17 lines
No EOL
388 B
JavaScript
17 lines
No EOL
388 B
JavaScript
const nextConfig = {
|
|
async headers() {
|
|
return [
|
|
{
|
|
source: '/:path*',
|
|
headers: [
|
|
{
|
|
key: 'Content-Security-Policy',
|
|
value: "default-src 'self'; script-src 'self' 'unsafe-inline' 'unsafe-eval' https://cdn.jsdelivr.net; style-src 'self' 'unsafe-inline';"
|
|
}
|
|
],
|
|
},
|
|
];
|
|
}
|
|
};
|
|
|
|
module.exports = nextConfig; |