From 862986a6bdb76c2cd53417909a24a79787aa671a Mon Sep 17 00:00:00 2001 From: damencho Date: Tue, 28 Jan 2025 09:59:00 -0600 Subject: [PATCH] feat(web): Drops userRegion comes from backend now. --- docker-compose.yml | 1 - web/rootfs/defaults/settings-config.js | 5 ----- 2 files changed, 6 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 32e492a..8cb772a 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -38,7 +38,6 @@ services: - DEPLOYMENTINFO_ENVIRONMENT_TYPE - DEPLOYMENTINFO_REGION - DEPLOYMENTINFO_SHARD - - DEPLOYMENTINFO_USERREGION - DESKTOP_SHARING_FRAMERATE_AUTO - DESKTOP_SHARING_FRAMERATE_MIN - DESKTOP_SHARING_FRAMERATE_MAX diff --git a/web/rootfs/defaults/settings-config.js b/web/rootfs/defaults/settings-config.js index dddca58..da286f9 100644 --- a/web/rootfs/defaults/settings-config.js +++ b/web/rootfs/defaults/settings-config.js @@ -1,4 +1,3 @@ -{{ $DEPLOYMENTINFO_USERREGION := .Env.DEPLOYMENTINFO_USERREGION | default "" -}} {{ $ENABLE_ADAPTIVE_MODE := .Env.ENABLE_ADAPTIVE_MODE | default "true" | toBool -}} {{ $ENABLE_AUDIO_PROCESSING := .Env.ENABLE_AUDIO_PROCESSING | default "true" | toBool -}} {{ $ENABLE_AUTOMATIC_GAIN_CONTROL := .Env.ENABLE_AUTOMATIC_GAIN_CONTROL | default "true" | toBool -}} @@ -402,10 +401,6 @@ config.deploymentInfo.envType = '{{ .Env.DEPLOYMENTINFO_ENVIRONMENT_TYPE }}'; config.deploymentInfo.region = '{{ .Env.DEPLOYMENTINFO_REGION }}'; {{ end -}} -{{ if $DEPLOYMENTINFO_USERREGION -}} -config.deploymentInfo.userRegion = '{{ $DEPLOYMENTINFO_USERREGION }}'; -{{ end -}} - // Deep Linking config.disableDeepLinking = {{ $DISABLE_DEEP_LINKING }};