Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Add this to module.exports.

async headers() { return [ { source: '/', headers: [ { key: 'Cross-Origin-Embedder-Policy', value: 'require-corp', }, { key: 'Cross-Origin-Opener-Policy', value: 'same-origin', }, ], }, ] },



What’s this meant to do?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: