Optimized Matomo

This commit is contained in:
2025-02-19 03:37:56 +01:00
parent f84774a390
commit 2c4ee620c1
4 changed files with 7 additions and 9 deletions

View File

@@ -31,10 +31,8 @@ for filename in os.listdir(config_path):
# Determine expected status codes based on the domain
if domain == '{{domains.listmonk}}':
expected_statuses = [404]
{% if global_matomo_tracking_enabled | bool %}
elif parts[0] == 'www' or domain in redirected_domains:
expected_statuses = [301]
{% endif %}
elif domain == '{{domains.yourls}}':
expected_statuses = [403]