web: remove config option to control FLoC

It has been abandoned by Google. Keep the default opt-out value for a
little longer just in case though.
This commit is contained in:
Saúl Ibarra Corretgé 2022-05-17 11:38:00 +02:00
parent cb5a753282
commit ed6ef893cc
2 changed files with 1 additions and 3 deletions

View File

@ -54,7 +54,6 @@ services:
- ENABLE_E2EPING
- ENABLE_FILE_RECORDING_SERVICE
- ENABLE_FILE_RECORDING_SERVICE_SHARING
- ENABLE_FLOC
- ENABLE_GUESTS
- ENABLE_HSTS
- ENABLE_HTTP_REDIRECT

View File

@ -25,9 +25,8 @@ add_header X-XSS-Protection "1; mode=block";
add_header X-Jitsi-Shard {{ .Env.DEPLOYMENTINFO_SHARD }};
{{ end }}
{{ if not (.Env.ENABLE_FLOC | default "0" | toBool) }}
# Opt out of FLoC (deprecated)
add_header Permissions-Policy "interest-cohort=()";
{{ end }}
location = /config.js {
alias /config/config.js;