Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

public_base_url is actually public_baseurl #5909

Merged
merged 2 commits into from
Aug 27, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog.d/5909.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix error message which referred to public_base_url instead of public_baseurl.
2 changes: 1 addition & 1 deletion synapse/config/emailconfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def read_config(self, config, **kwargs):
missing.append("email." + k)

if config.get("public_baseurl") is None:
missing.append("public_base_url")
missing.append("public_baseurl")

if len(missing) > 0:
raise RuntimeError(
Expand Down
2 changes: 1 addition & 1 deletion synapse/rest/well_known.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def __init__(self, hs):
self._config = hs.config

def get_well_known(self):
# if we don't have a public_base_url, we can't help much here.
# if we don't have a public_baseurl, we can't help much here.
if self._config.public_baseurl is None:
return None

Expand Down