Refactored ws implementation to use it in mastodon and in new espocrm role

This commit is contained in:
2025-04-25 14:44:33 +02:00
parent 4e04f882e5
commit 87262f7373
26 changed files with 173 additions and 91 deletions

View File

@@ -0,0 +1,4 @@
{% if applications.get(application_id, {}).get('features', {}).get('iframe', False) %}
add_header X-Frame-Options "SAMEORIGIN" always;
add_header Content-Security-Policy "frame-ancestors 'self' {{primary_domain}};" always;
{% endif %}