i am so dumbrefyery

This commit is contained in:
Ashley 2024-01-12 11:04:27 +00:00
parent df4267b69d
commit 56f04cbfdc

View file

@ -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)\/.+/)) {