Helmet: ^5.1.1
Using NextJS with NodeJS.
Setting helmet's crossOriginEmbedderPolicy to false works to load the iframe.
app.use(
helmet({
crossOriginEmbedderPolicy: false,
})
);
But can something like below be done ?
app.use(
helmet({
crossOriginEmbedderPolicy: {
//disable for specific site
}
})
);
The following solutions didn't work for me: