mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-05-18 02:34:38 +02:00
Solved matrix domain and portfolio iframe bug
This commit is contained in:
parent
d1a027c1cf
commit
08ad58e7c8
@ -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
|
||||
|
@ -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 = {
|
||||
|
@ -47,7 +47,7 @@ galaxy_info:
|
||||
"applications": {
|
||||
"portfolio": {
|
||||
"features": {
|
||||
"iframe": True
|
||||
"portfolio_iframe": True
|
||||
}
|
||||
}
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user