summary refs log tree commit diff
path: root/synapse_topology/webui/src/js/utils/yaml.js
diff options
context:
space:
mode:
Diffstat (limited to 'synapse_topology/webui/src/js/utils/yaml.js')
-rw-r--r--synapse_topology/webui/src/js/utils/yaml.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/synapse_topology/webui/src/js/utils/yaml.js b/synapse_topology/webui/src/js/utils/yaml.js
index 5d1a79ccd4..bb706c6533 100644
--- a/synapse_topology/webui/src/js/utils/yaml.js
+++ b/synapse_topology/webui/src/js/utils/yaml.js
@@ -72,14 +72,14 @@ const listeners = config => {
 
 const tlsPaths = config => {
 
-    if (config.reverseProxy == REVERSE_PROXY_TYPES.TLS) {
+    if (config.tls == TLS_TYPES.TLS) {
 
         return {
             tls_certificate_path: config.tlsCertPath,
             tls_private_key_path: config.tlsCertKeyPath,
         }
 
-    } else if (config.reverseProxy == REVERSE_PROXY_TYPES.ACME) {
+    } else if (config.tls == TLS_TYPES.ACME) {
 
         return {
             tls_certificate_path:
@@ -108,7 +108,7 @@ const acme = config => {
                 reprovision_threshold: 30,
                 domain: config.delegationServerName ?
                     config.delegationServerName :
-                    servername,
+                    config.servername,
                 account_key_file: config.configDir + "/data/acme_account.key",
             },
         }