Finished portfolio implementation

This commit is contained in:
2025-07-12 22:06:57 +02:00
parent ead60dab84
commit 4f5afa1220
3 changed files with 84 additions and 2 deletions

View File

@@ -127,7 +127,7 @@ class FilterModule(object):
self.is_feature_enabled(applications, 'portfolio_iframe', application_id)
and directive == 'frame-ancestors'
):
domain = domains.get('portfolio')[0]
domain = domains.get('web-app-port-ui')[0]
sld_tld = ".".join(domain.split(".")[-2:]) # yields "example.com"
tokens.append(f"{sld_tld}") # yields "*.example.com"