File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -96,8 +96,8 @@ const nextConfig: NextConfig = {
9696 ] ,
9797 } ,
9898 {
99- // Exclude Vercel internal resources and static assets from strict COEP
100- source : '/((?!_next|_vercel|api|favicon.ico|w/.*|api/tools/drive).*)' ,
99+ // Exclude Vercel internal resources and static assets from strict COEP, Google Drive Picker to prevent 'refused to connect' issue
100+ source : '/((?!_next|_vercel|api|favicon.ico|w/.*|workspace/.*| api/tools/drive).*)' ,
101101 headers : [
102102 {
103103 key : 'Cross-Origin-Embedder-Policy' ,
@@ -119,7 +119,7 @@ const nextConfig: NextConfig = {
119119 } ,
120120 {
121121 key : 'Cross-Origin-Opener-Policy' ,
122- value : 'same-origin' ,
122+ value : 'same-origin-allow-popups ' ,
123123 } ,
124124 ] ,
125125 } ,
You can’t perform that action at this time.
0 commit comments