Consistent with rest of code

This commit is contained in:
Bingus_Violet 2024-02-29 09:02:30 -06:00
parent 159f6fb26b
commit 265d692eb4

View file

@ -43,9 +43,9 @@ var gamePath = path.join(__dirname, "games")
// var imgPath = path.join(staticpath, 'imgs')
app.use(function (req, res, next) {
res.header("Cross-Origin-Embedder-Policy", "require-corp");
res.header("Cross-Origin-Opener-Policy", "same-origin");
next();
res.setHeader("Cross-Origin-Embedder-Policy", "require-corp")
res.setHeader("Cross-Origin-Opener-Policy", "same-origin")
next()
});