Different little optimations

This commit is contained in:
2025-07-17 04:23:05 +02:00
parent 1bdfb71f2f
commit bfc42ce2ac
13 changed files with 22 additions and 21 deletions

View File

@@ -15,7 +15,7 @@ def get_expected_statuses(domain: str, parts: list[str], redirected_domains: set
Returns:
A list of expected HTTP status codes.
"""
if domain == '{{domains | get_domain('listmonk')}}':
if domain == '{{domains | get_domain('web-app-listmonk')}}':
return [404]
if (parts and parts[0] == 'www') or (domain in redirected_domains):
return [301]