File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -116,6 +116,7 @@ async function probeWallet(
116116 iframe . style . border = 'none' ;
117117 iframe . style . position = 'absolute' ;
118118 iframe . style . top = '-9999px' ;
119+ iframe . allow = 'storage-access' ;
119120 document . body . appendChild ( iframe ) ;
120121
121122 return new Promise ( ( resolve ) => {
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ export class IframeWalletProvider implements WalletProvider {
5656 height: 100%;
5757 display: block;
5858 ` ;
59- iframe . allow = 'cross-origin-isolated ' ;
59+ iframe . allow = 'storage-access ' ;
6060 this . iframe = iframe ;
6161
6262 if ( options ?. container ) {
Original file line number Diff line number Diff line change 99 },
1010 {
1111 "key" : " Cross-Origin-Embedder-Policy" ,
12- "value" : " require-corp "
12+ "value" : " credentialless "
1313 }
1414 ]
1515 }
Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ export default defineConfig(({ mode }) => {
102102 // Headers needed for bb WASM to work in multithreaded mode
103103 headers : {
104104 'Cross-Origin-Opener-Policy' : 'same-origin' ,
105- 'Cross-Origin-Embedder-Policy' : 'require-corp ' ,
105+ 'Cross-Origin-Embedder-Policy' : 'credentialless ' ,
106106 } ,
107107 fs : {
108108 allow : [ searchForWorkspaceRoot ( process . cwd ( ) ) ] ,
You can’t perform that action at this time.
0 commit comments