From 56f04cbfdc84841ad7a68d5a0fc2fa19722801de Mon Sep 17 00:00:00 2001 From: Ashley Date: Fri, 12 Jan 2024 11:04:27 +0000 Subject: [PATCH] i am so dumbrefyery --- server.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/server.js b/server.js index 13f5952b..e5cf76ce 100644 --- a/server.js +++ b/server.js @@ -137,8 +137,8 @@ toobusy.maxLag(3500); res.header("secure-poketube-instance", "1"); // opt out of googles "FLOC" bullcrap :p See https://spreadprivacy.com/block-floc-with-duckduckgo/ - res.header("Permissions-Policy": "interest-cohort=()") - res.header("software-name": "poke") + res.header("Permissions-Policy", "interest-cohort=()") + res.header("software-name", "poke") next(); }); @@ -160,7 +160,7 @@ toobusy.maxLag(3500); app.use(function (req, res, next) { res.header("X-PokeTube-Youtube-Client-Name", "1"); - res.header("Hey there": "Do u wanna help poke? contributons are welcome :3 https://codeberg.org/Ashley/poke") + res.header("Hey there", "Do u wanna help poke? contributons are welcome :3 https://codeberg.org/Ashley/poke") res.header("X-PokeTube-Youtube-Client-Version", "2.20240111.00.00"); res.header("X-PokeTube-Speeder", "3 seconds no cache, 280ms w/cache"); if (req.url.match(/^\/(css|js|img|font)\/.+/)) {