Refactored

This commit is contained in:
2025-05-20 12:53:10 +02:00
parent 969a176be1
commit dfb67918c8
13 changed files with 210 additions and 190 deletions

View File

@@ -110,7 +110,7 @@ class FilterModule(object):
self.is_feature_enabled(applications, matomo_feature_name, application_id)
and directive in ['script-src', 'connect-src']
):
matomo_domain = domains.get('matomo')
matomo_domain = domains.get('matomo')[0]
if matomo_domain:
tokens.append(f"{web_protocol}://{matomo_domain}")