Solved matrix domain and portfolio iframe bug

This commit is contained in:
Kevin Veen-Birkenbach 2025-05-17 17:40:05 +02:00
parent d1a027c1cf
commit 08ad58e7c8
No known key found for this signature in database
GPG Key ID: 44D8F11FD62F878E
3 changed files with 4 additions and 4 deletions

View File

@ -25,9 +25,9 @@ csp:
whitelist: whitelist:
connect-src: connect-src:
- "{{ primary_domain }}" - "{{ primary_domain }}"
- "{{ domains.matrix }}" - "{{ domains.matrix.synapse | safe_var }}"
script-src: script-src:
- "{{ domains.matrix }}" - "{{ domains.matrix.synapse | safe_var }}"
- "https://cdn.jsdelivr.net" - "https://cdn.jsdelivr.net"
plugins: plugins:
# You need to enable them in the inventory file # You need to enable them in the inventory file

View File

@ -99,7 +99,7 @@ class LookupModule(LookupBase):
url = "https://" + domain_url if domain_url else "" url = "https://" + domain_url if domain_url else ""
app_data = applications.get(application_id, {}) app_data = applications.get(application_id, {})
iframe = app_data.get("features", {}).get("iframe", False) iframe = app_data.get("features", {}).get("portfolio_iframe", False)
# Build card dictionary # Build card dictionary
card = { card = {

View File

@ -47,7 +47,7 @@ galaxy_info:
"applications": { "applications": {
"portfolio": { "portfolio": {
"features": { "features": {
"iframe": True "portfolio_iframe": True
} }
} }
}, },