We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a251122 commit 4964495Copy full SHA for 4964495
1 file changed
apps/sim/next.config.ts
@@ -96,8 +96,8 @@ const nextConfig: NextConfig = {
96
],
97
},
98
{
99
- // Exclude Vercel internal resources and static assets from strict COEP
100
- source: '/((?!_next|_vercel|api|favicon.ico|w/.*|api/tools/drive).*)',
+ // Exclude Vercel internal resources and static assets from strict COEP, Google Drive Picker to prevent 'refused to connect' issue
+ source: '/((?!_next|_vercel|api|favicon.ico|w/.*|workspace/.*|api/tools/drive).*)',
101
headers: [
102
103
key: 'Cross-Origin-Embedder-Policy',
@@ -119,7 +119,7 @@ const nextConfig: NextConfig = {
119
120
121
key: 'Cross-Origin-Opener-Policy',
122
- value: 'same-origin',
+ value: 'same-origin-allow-popups',
123
124
125
0 commit comments