mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-09-09 13:01:53 +00:00
Merge pull request #5909 from aaronraimist/public_base_url
public_base_url is actually public_baseurl
This commit is contained in:
commit
7837a5f2ea
1
changelog.d/5909.misc
Normal file
1
changelog.d/5909.misc
Normal file
@ -0,0 +1 @@
|
||||
Fix error message which referred to public_base_url instead of public_baseurl.
|
@ -115,7 +115,7 @@ class EmailConfig(Config):
|
||||
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(
|
||||
|
@ -34,7 +34,7 @@ class WellKnownBuilder(object):
|
||||
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user