Skip to content

Commit

Permalink
fixup! feat: Add headers for wasm support
Browse files Browse the repository at this point in the history
  • Loading branch information
juliusknorr committed Nov 20, 2023
1 parent 5b74d30 commit 15af22b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Listener/BeforeTemplateRenderedListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public function handle(Event $event): void {

// FIXME: Might be too wide, we should only do this when needed

$event->getResponse()->addHeader('Cross-Origin-Opener-Policy', 'same-origin');
$event->getResponse()->addHeader('Cross-Origin-Embedder-Policy', 'require-corp');
//$event->getResponse()->addHeader('Cross-Origin-Opener-Policy', 'unsafe-none');
//$event->getResponse()->addHeader('Cross-Origin-Embedder-Policy', 'require-corp');
}
}

0 comments on commit 15af22b

Please sign in to comment.