Compare commits

...

1 Commits

Author SHA1 Message Date
mei23 a454572604
Opting out FLoC 2021-04-21 23:33:47 +09:00
1 changed files with 5 additions and 0 deletions

View File

@ -56,6 +56,11 @@ if (config.url.startsWith('https') && !config.disableHsts) {
});
}
app.use(async (ctx, next) => {
ctx.set('Permissions-Policy', 'interest-cohort=()');
await next();
});
app.use(mount('/api', apiServer));
app.use(mount('/files', require('./file')));
app.use(mount('/proxy', require('./proxy')));