Solved features bug

This commit is contained in:
2025-04-21 18:28:35 +02:00
parent b0dd574c26
commit 3eb9163412
4 changed files with 7 additions and 5 deletions

View File

@@ -1,2 +1,2 @@
configuration_destination: "{{nginx.directories.http.servers}}{{domain}}.conf"
final_oauth2_enabled: "{{applications[application_id].get('features', {}).get('oauth2', False)}}"
configuration_destination: "{{nginx.directories.http.servers}}{{domain}}.conf"
final_oauth2_enabled: "{{applications[application_id].get('features', {}).get('oauth2', False)}}"

View File

@@ -2,8 +2,8 @@
sub_filter_once off;
sub_filter_types text/html;
{% set features_css_final = applications.get(application_id).get('features').get('css') | bool %}
{% set features_matomo_final = applications.get(application_id).get('features').get('matomo') | bool %}
{% set features_css_final = applications.get(application_id).get('features').get('css') | bool %}
{% set features_matomo_final = applications.get(application_id).get('features').get('matomo') | bool %}
{% if features_matomo_final | bool %}