dev_settings: Dynamically use URL scheme for Zulip services.

The URL scheme is currently static and set to 'http'. This change makes
use of the dynamic `EXTERNAL_URI_SCHEME` setting to use the correct
protocol.
This commit is contained in:
joseph 2024-09-10 05:09:40 +00:00
parent 291197976a
commit a9289e9d9c
1 changed files with 1 additions and 1 deletions

View File

@ -206,7 +206,7 @@ SCIM_CONFIG: dict[str, SCIMConfigDict] = {
SELF_HOSTING_MANAGEMENT_SUBDOMAIN = "selfhosting" SELF_HOSTING_MANAGEMENT_SUBDOMAIN = "selfhosting"
DEVELOPMENT_DISABLE_PUSH_BOUNCER_DOMAIN_CHECK = True DEVELOPMENT_DISABLE_PUSH_BOUNCER_DOMAIN_CHECK = True
ZULIP_SERVICES_URL = f"http://push.{EXTERNAL_HOST}" ZULIP_SERVICES_URL = f"{EXTERNAL_URI_SCHEME}push.{EXTERNAL_HOST}"
ZULIP_SERVICE_PUSH_NOTIFICATIONS = True ZULIP_SERVICE_PUSH_NOTIFICATIONS = True
ZULIP_SERVICE_SUBMIT_USAGE_STATISTICS = True ZULIP_SERVICE_SUBMIT_USAGE_STATISTICS = True