Skip to content

Commit

Permalink
🐛 fix: fix Content-Security-Policy (lobehub#4056)
Browse files Browse the repository at this point in the history
  • Loading branch information
arvinxx authored Sep 21, 2024
1 parent f8a63ff commit d186062
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -101,19 +101,6 @@ const nextConfig = {
],
source: '/apple-touch-icon.png',
},
{
headers: [
{
key: 'Content-Type',
value: 'application/javascript; charset=utf-8',
},
{
key: 'Content-Security-Policy',
value: "default-src 'self'; script-src 'self'",
},
],
source: '/sw.js',
},
];
},

Expand Down

0 comments on commit d186062

Please sign in to comment.