Opt-out of FLoC

master
Garrett Mills 3 years ago
parent 6c812a7e8a
commit 374ac7ca3a
Signed by: garrettmills
GPG Key ID: D2BF5FBA8298F246

@ -37,6 +37,9 @@ class ResponseSystemMiddleware extends Injectable {
this.request = request
this.old_status = response.status.bind(response)
// FLoC off, Google.
response.set('Permissions-Policy', 'interest-cohort=()')
if ( app.di().has('views') && app.di().has('express') ) {
response.view = this.view.bind(this)
response.error = this.error.bind(this)

Loading…
Cancel
Save