Remove Permissions-Policy header, FLOC has now been abandoned

This commit is contained in:
Tom Moor
2022-02-08 23:06:04 -08:00
parent f42a09be0d
commit 193ca910f8

View File

@@ -100,10 +100,6 @@ export default function init(app: Koa = new Koa()): Koa {
// Sets common security headers by default, such as no-sniff, hsts, hide powered
// by etc, these are applied after auth and api so they are only returned on
// standard non-XHR accessed routes
app.use(async (ctx, next) => {
ctx.set("Permissions-Policy", "interest-cohort=()");
await next();
});
app.use(
contentSecurityPolicy({
directives: {