I'm trying to configure COOP/COEP headers in my Nuxt application to enable working with web containers. Specifically, I need to set the following headers:
Cross-Origin-Embedder-Policy: require-corp
Cross-Origin-Opener-Policy: same-origin
đ What have you tried?
I tried setting the headers in server/middleware/web-container-headers.ts :
I also tried using Nuxt Security
âšī¸ Additional context
I'm unable to use Nuxt devtools. Specifically, I encountered the following error in the console:
đ What are you trying to do?
I'm trying to configure COOP/COEP headers in my Nuxt application to enable working with web containers. Specifically, I need to set the following headers:
đ What have you tried?
âšī¸ Additional context
I'm unable to use Nuxt devtools. Specifically, I encountered the following error in the console: