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:
|
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
|
||||||
|
@ -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 = {
|
||||||
|
@ -47,7 +47,7 @@ galaxy_info:
|
|||||||
"applications": {
|
"applications": {
|
||||||
"portfolio": {
|
"portfolio": {
|
||||||
"features": {
|
"features": {
|
||||||
"iframe": True
|
"portfolio_iframe": True
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user