mirror of
https://codeberg.org/keyoxide/keyoxide-web.git
synced 2024-12-22 23:09:29 -07:00
FLoC off google
This commit is contained in:
parent
cca12a2237
commit
9232e2e9fe
1 changed files with 5 additions and 0 deletions
5
index.js
5
index.js
|
@ -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'))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue