summary refs log tree commit diff
diff options
context:
space:
mode:
authorJorik Schellekens <joriks@matrix.org>2019-08-05 17:23:46 +0100
committerJorik Schellekens <joriks@matrix.org>2019-08-28 15:59:53 +0100
commit9a0ba7696e2c77e7d9139bc1efb9945c4110190c (patch)
tree7a8a41e1d04f0c2cf905fc1a0d81b29e735a307c
parentMissing import (diff)
downloadsynapse-9a0ba7696e2c77e7d9139bc1efb9945c4110190c.tar.xz
None is no longer a valid reverse proxy option.
-rw-r--r--synapse_topology/view/webui/js/actions/constants.js1
-rw-r--r--synapse_topology/view/webui/js/components/ReverseProxy.jsx1
2 files changed, 0 insertions, 2 deletions
diff --git a/synapse_topology/view/webui/js/actions/constants.js b/synapse_topology/view/webui/js/actions/constants.js
index 73204a607a..467bd4e3fc 100644
--- a/synapse_topology/view/webui/js/actions/constants.js
+++ b/synapse_topology/view/webui/js/actions/constants.js
@@ -10,7 +10,6 @@ export const REVERSE_PROXY_TYPES = {
   HAPROXY: "HAPROXY",
   NGINX: "NGINX",
   OTHER: "OTHER",
-  NONE: "NONE",
 }
 
 export const TLS_TYPES = {
diff --git a/synapse_topology/view/webui/js/components/ReverseProxy.jsx b/synapse_topology/view/webui/js/components/ReverseProxy.jsx
index 59f1e7d21b..85b1f2a863 100644
--- a/synapse_topology/view/webui/js/components/ReverseProxy.jsx
+++ b/synapse_topology/view/webui/js/components/ReverseProxy.jsx
@@ -27,7 +27,6 @@ export default ({ onClick }) => {
       <option value={REVERSE_PROXY_TYPES.HAPROXY}>HAProxy</option>
       <option value={REVERSE_PROXY_TYPES.NGINX}>NGiNX</option>
       <option value={REVERSE_PROXY_TYPES.OTHER}>Some other Reverse Proxy</option>
-      <option value={REVERSE_PROXY_TYPES.NONE}>I will either not use a Reverse Proxy, or I will use delegation</option>
     </select>
     <div>
       <button onClick={() => onClick(reverseProxy)}>Safety First</button>