Fixie da woopsie
This commit is contained in:
parent
265d692eb4
commit
afcb4d5807
1 changed files with 1 additions and 1 deletions
2
index.js
2
index.js
|
@ -42,7 +42,7 @@ var cachePath = path.join(staticpath, 'cached')
|
||||||
var gamePath = path.join(__dirname, "games")
|
var gamePath = path.join(__dirname, "games")
|
||||||
// var imgPath = path.join(staticpath, 'imgs')
|
// var imgPath = path.join(staticpath, 'imgs')
|
||||||
|
|
||||||
app.use(function (req, res, next) {
|
app.use("/games", function (req, res, next) {
|
||||||
res.setHeader("Cross-Origin-Embedder-Policy", "require-corp")
|
res.setHeader("Cross-Origin-Embedder-Policy", "require-corp")
|
||||||
res.setHeader("Cross-Origin-Opener-Policy", "same-origin")
|
res.setHeader("Cross-Origin-Opener-Policy", "same-origin")
|
||||||
next()
|
next()
|
||||||
|
|
Loading…
Reference in a new issue