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:
connect-src:
- "{{ primary_domain }}"
- "{{ domains.matrix }}"
- "{{ domains.matrix.synapse | safe_var }}"
script-src:
- "{{ domains.matrix }}"
- "{{ domains.matrix.synapse | safe_var }}"
- "https://cdn.jsdelivr.net"
plugins:
# 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 ""
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
card = {

View File

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