diff options
author | Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | 2021-01-20 12:30:41 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-20 12:30:41 +0000 |
commit | fa50e4bf4ddcb8e98d44700513a28c490f80f02b (patch) | |
tree | 2f2647326c36624c91c5aaf8a350d6fba47a541a /synapse/api | |
parent | Use the account handler in additional places. (#9166) (diff) | |
download | synapse-fa50e4bf4ddcb8e98d44700513a28c490f80f02b.tar.xz |
Give `public_baseurl` a default value (#9159)
Diffstat (limited to 'synapse/api')
-rw-r--r-- | synapse/api/urls.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/synapse/api/urls.py b/synapse/api/urls.py index 6379c86dde..e36aeef31f 100644 --- a/synapse/api/urls.py +++ b/synapse/api/urls.py @@ -42,8 +42,6 @@ class ConsentURIBuilder: """ if hs_config.form_secret is None: raise ConfigError("form_secret not set in config") - if hs_config.public_baseurl is None: - raise ConfigError("public_baseurl not set in config") self._hmac_secret = hs_config.form_secret.encode("utf-8") self._public_baseurl = hs_config.public_baseurl |