Fix incorrect casts

This commit is contained in:
Sylvia van Os 2019-05-07 09:35:51 +02:00
parent ed0ecf5bea
commit 9ea593df37
2 changed files with 5 additions and 5 deletions

View File

@ -15,9 +15,9 @@
}, },
"welcomeUserId": {{ matrix_riot_web_welcome_user_id|string|to_json }}, "welcomeUserId": {{ matrix_riot_web_welcome_user_id|string|to_json }},
{% if matrix_riot_web_enable_presence_by_hs_url is not none %} {% if matrix_riot_web_enable_presence_by_hs_url is not none %}
"enable_presence_by_hs_url": {{ matrix_riot_web_enable_presence_by_hs_url|string|to_json }}, "enable_presence_by_hs_url": {{ matrix_riot_web_enable_presence_by_hs_url|to_json }},
{% endif %} {% endif %}
"embeddedPages": { "embeddedPages": {
"homeUrl": {{ matrix_riot_web_embedded_pages_home_url|string}to_json }} "homeUrl": {{ matrix_riot_web_embedded_pages_home_url|string|to_json }}
} }
} }

View File

@ -255,11 +255,11 @@ listeners:
# instance, if using certbot, use `fullchain.pem` as your certificate, # instance, if using certbot, use `fullchain.pem` as your certificate,
# not `cert.pem`). # not `cert.pem`).
# #
tls_certificate_path: {{ matrix_synapse_tls_certificate_path|string|to_json }} tls_certificate_path: {{ matrix_synapse_tls_certificate_path|to_json }}
# PEM-encoded private key for TLS # PEM-encoded private key for TLS
# #
tls_private_key_path: {{ matrix_synapse_tls_private_key_path|string|to_json }} tls_private_key_path: {{ matrix_synapse_tls_private_key_path|to_json }}
# ACME support: This will configure Synapse to request a valid TLS certificate # ACME support: This will configure Synapse to request a valid TLS certificate
# for your configured `server_name` via Let's Encrypt. # for your configured `server_name` via Let's Encrypt.
@ -915,7 +915,7 @@ password_config:
email: email:
enable_notifs: true enable_notifs: true
smtp_host: {{ matrix_synapse_email_smtp_host|string|to_json }} smtp_host: {{ matrix_synapse_email_smtp_host|string|to_json }}
smtp_port: {{ matrix_synapse_email_smtp_port|string|to_json }} smtp_port: {{ matrix_synapse_email_smtp_port|to_json }}
require_transport_security: {{ matrix_synapse_email_smtp_require_transport_security|to_json }} require_transport_security: {{ matrix_synapse_email_smtp_require_transport_security|to_json }}
notif_from: {{ matrix_synapse_email_notif_from|string|to_json }} notif_from: {{ matrix_synapse_email_notif_from|string|to_json }}
app_name: Matrix app_name: Matrix