moq-rs/player/.proxyrc.js

8 lines
234 B
JavaScript
Raw Normal View History

2023-04-02 01:34:10 +00:00
module.exports = function (app) {
app.use((req, res, next) => {
res.setHeader('Cross-Origin-Opener-Policy', 'same-origin');
res.setHeader('Cross-Origin-Embedder-Policy', 'require-corp');
next();
});
};