summary refs log tree commit diff
path: root/synapse/api/urls.py
diff options
context:
space:
mode:
authorPatrick Cloke <patrickc@matrix.org>2021-02-11 11:30:16 -0500
committerPatrick Cloke <patrickc@matrix.org>2021-02-11 11:30:16 -0500
commitfa0f99e4f2ff3fdedf03f700b2c11004166f991f (patch)
tree8ae535542771484573b944785ec132b80b2a9cd5 /synapse/api/urls.py
parentRevert "block groups requests to fosdem" (diff)
parentClarify when new ratelimiting was added. (diff)
downloadsynapse-fa0f99e4f2ff3fdedf03f700b2c11004166f991f.tar.xz
Merge branch 'release-v1.27.0' into matrix-org-hotfixes
Diffstat (limited to 'synapse/api/urls.py')
-rw-r--r--synapse/api/urls.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/api/urls.py b/synapse/api/urls.py

index e36aeef31f..6379c86dde 100644 --- a/synapse/api/urls.py +++ b/synapse/api/urls.py
@@ -42,6 +42,8 @@ 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