diff options
author | Jorik Schellekens <joriks@matrix.org> | 2019-09-06 10:25:55 +0100 |
---|---|---|
committer | Jorik Schellekens <joriks@matrix.org> | 2019-09-06 10:25:55 +0100 |
commit | dbbdf1a4a9474716cd26ffb87e392ef3f6566b9a (patch) | |
tree | d968b294518592f72a0df9dbb25293ca80c1f5ad | |
parent | Key state is set in servename (diff) | |
download | synapse-joriks/config_util.tar.xz |
Noop config if none is set github/joriks/config_util joriks/config_util
-rw-r--r-- | synapse_topology/webui/src/js/containers/ReverseProxySampleConfig.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse_topology/webui/src/js/containers/ReverseProxySampleConfig.js b/synapse_topology/webui/src/js/containers/ReverseProxySampleConfig.js index 965fe46443..6abaea4273 100644 --- a/synapse_topology/webui/src/js/containers/ReverseProxySampleConfig.js +++ b/synapse_topology/webui/src/js/containers/ReverseProxySampleConfig.js @@ -2,7 +2,6 @@ import { connect } from 'react-redux'; import ReverseProxySampleConfig from '../components/ReverseProxySampleConfig'; -import { advanceUI } from '../actions'; import { REVERSE_PROXY_TYPES } from '../actions/constants'; import apacheConfig from '../templates/apache'; @@ -24,6 +23,8 @@ const sampleConfig = reverseProxyType => { return nginxConfig; case REVERSE_PROXY_TYPES.OTHER: return otherConfig; + default: + return () => { } } |