-
Notifications
You must be signed in to change notification settings - Fork 292
Federation
Benny Neugebauer edited this page Jul 12, 2021
·
2 revisions
Environment Variables
# Add "*.wire.link" domains for federated backend
CSP_EXTRA_CONNECT_SRC="http://localhost:32123, ws://localhost:32123, https://*.zinfra.io, https://*.wire.com, https://api.raygun.io, wss://*.zinfra.io, wss://prod-nginz-ssl.wire.com, https://wire.count.ly, https://*.wire.link, wss://*.wire.link"
CSP_EXTRA_IMG_SRC="https://*.zinfra.io, https://*.wire.com, https://*.wire.link"
CSP_EXTRA_SCRIPT_SRC="http://localhost:32123, https://*.zinfra.io, https://*.wire.com, https://api.raygun.io, https://*.wire.link"
# Use "anta.wire.link" in webapp
BACKEND_REST="https://nginz-https.anta.wire.link"
BACKEND_WS="wss://nginz-ssl.anta.wire.link"
FEATURE_ENABLE_FEDERATION="true"
FEATURE_FEDERATION_DOMAIN="anta.wire.link"
In Code:
Config.getConfig().FEATURE.ENABLE_FEDERATION
Config.getConfig().FEATURE.FEDERATION_DOMAIN
Polishing comments:
// TODO Federation fix