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

Commit

Permalink
Merge pull request #5909 from aaronraimist/public_base_url
Browse files Browse the repository at this point in the history
public_base_url is actually public_baseurl
  • Loading branch information
richvdh authored Aug 27, 2019
2 parents 1a7e6eb + c25137a commit 7837a5f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
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

0 comments on commit 7837a5f

Please sign in to comment.