FLoC off google

This commit is contained in:
Yarmo Mackenbach 2021-05-04 12:54:03 +02:00
parent cca12a2237
commit 9232e2e9fe
No known key found for this signature in database
GPG key ID: 37367F4AF4087AD1

View file

@ -42,6 +42,11 @@ app.set('domain', process.env.DOMAIN || "keyoxide.org")
app.set('keyoxide_version', packageData.version) app.set('keyoxide_version', packageData.version)
app.set('onion_url', process.env.ONION_URL) app.set('onion_url', process.env.ONION_URL)
app.use((req, res, next) => {
res.setHeader('Permissions-Policy', 'interest-cohort=()')
next()
})
app.use('/favicon.svg', express.static('favicon.svg')) app.use('/favicon.svg', express.static('favicon.svg'))
app.use('/robots.txt', express.static('robots.txt')) app.use('/robots.txt', express.static('robots.txt'))