mirror of
https://github.com/zulip/zulip.git
synced 2025-11-11 09:27:43 +00:00
dev_settings: Convert hostname to lower case when setting external host.
This commit is contained in:
@@ -16,7 +16,7 @@ if EXTERNAL_HOST is None:
|
|||||||
user_name = pwd.getpwuid(user_id).pw_name
|
user_name = pwd.getpwuid(user_id).pw_name
|
||||||
if user_name == "zulipdev":
|
if user_name == "zulipdev":
|
||||||
# For our droplets, we use the external hostname by default.
|
# For our droplets, we use the external hostname by default.
|
||||||
EXTERNAL_HOST = os.uname()[1] + ":9991"
|
EXTERNAL_HOST = os.uname()[1].lower() + ":9991"
|
||||||
else:
|
else:
|
||||||
# For local development environments, we use localhost by
|
# For local development environments, we use localhost by
|
||||||
# default, via the "zulipdev.com" hostname.
|
# default, via the "zulipdev.com" hostname.
|
||||||
|
|||||||
Reference in New Issue
Block a user