mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Raw refactoring of roles
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
|
||||
{# frame-ancestors: Restricts which origins can embed this site in a frame or iframe #}
|
||||
{%- set frame_ancestors = "frame-ancestors 'self'" %}
|
||||
{%- if applications | is_feature_enabled('iframe', application_id) | bool %}
|
||||
{%- if applications | is_feature_enabled('landing_page_iframe', application_id) | bool %}
|
||||
{%- set frame_ancestors = frame_ancestors + " " + web_protocol + "://" + primary_domain %}
|
||||
{%- endif %}
|
||||
{%- set csp_parts = csp_parts + [frame_ancestors + ";"] %}
|
||||
|
Reference in New Issue
Block a user