diff --git a/sygnal/webpushpushkin.py b/sygnal/webpushpushkin.py index 3b2ba4de..c5eed245 100644 --- a/sygnal/webpushpushkin.py +++ b/sygnal/webpushpushkin.py @@ -104,6 +104,8 @@ def __init__(self, name, sygnal, config): "'allowed_endpoints' should be a list or not set" ) self.allowed_endpoints = list(map(glob_to_regex, allowed_endpoints)) + else: + self.allowed_endpoints = None privkey_filename = self.get_config("vapid_private_key") if not privkey_filename: raise PushkinSetupException("'vapid_private_key' not set in config")