From afcb4d58077b77a6f7f5a5bea61bc3470739e7f9 Mon Sep 17 00:00:00 2001 From: Bingus_Violet Date: Thu, 29 Feb 2024 22:32:40 -0600 Subject: [PATCH] Fixie da woopsie --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 144fd60..197eaed 100644 --- a/index.js +++ b/index.js @@ -42,7 +42,7 @@ var cachePath = path.join(staticpath, 'cached') var gamePath = path.join(__dirname, "games") // 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-Opener-Policy", "same-origin") next()