Skip to content

Commit

Permalink
fix: 修复 OPFS 不能使用的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
huayemao committed Jun 23, 2024
1 parent 3d4dd13 commit 4d1b4f2
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -39,20 +39,7 @@ const nextConfig = {
],
},
{
source: '/(.*?)worker(.*?)',
headers: [
{
key: 'Cross-Origin-Embedder-Policy',
value: 'require-corp',
},
{
key: 'Cross-Origin-Opener-Policy',
value: 'same-origin',
},
],
},
{
source: '/(.*?)sqlite(.*?)',
source: '/(.*?).js',
headers: [
{
key: 'Cross-Origin-Embedder-Policy',
Expand Down

0 comments on commit 4d1b4f2

Please sign in to comment.