mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-15 04:53:53 +01:00
public_base_url is actually public_baseurl
Signed-off-by: Aaron Raimist <aaron@raim.ist>
This commit is contained in:
parent
8767b63a82
commit
e8e3e033ee
2 changed files with 2 additions and 2 deletions
|
@ -115,7 +115,7 @@ class EmailConfig(Config):
|
||||||
missing.append("email." + k)
|
missing.append("email." + k)
|
||||||
|
|
||||||
if config.get("public_baseurl") is None:
|
if config.get("public_baseurl") is None:
|
||||||
missing.append("public_base_url")
|
missing.append("public_baseurl")
|
||||||
|
|
||||||
if len(missing) > 0:
|
if len(missing) > 0:
|
||||||
raise RuntimeError(
|
raise RuntimeError(
|
||||||
|
|
|
@ -34,7 +34,7 @@ class WellKnownBuilder(object):
|
||||||
self._config = hs.config
|
self._config = hs.config
|
||||||
|
|
||||||
def get_well_known(self):
|
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:
|
if self._config.public_baseurl is None:
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue