chore: remove Content-Security-Policy header configuration
This commit is contained in:
@@ -15,15 +15,6 @@ const nextConfig: NextConfig = {
|
|||||||
},
|
},
|
||||||
async headers() {
|
async headers() {
|
||||||
return [
|
return [
|
||||||
{
|
|
||||||
source: '/:path*',
|
|
||||||
headers: [
|
|
||||||
{
|
|
||||||
key: 'Content-Security-Policy',
|
|
||||||
value: "script-src 'self' 'unsafe-inline' 'unsafe-eval' https://plausible.elpatron.me; connect-src 'self' https://plausible.elpatron.me;",
|
|
||||||
},
|
|
||||||
],
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
source: '/uploads/:path*.mp3',
|
source: '/uploads/:path*.mp3',
|
||||||
headers: [
|
headers: [
|
||||||
|
|||||||
Reference in New Issue
Block a user