1
0

Noop config if none is set

This commit is contained in:
Jorik Schellekens
2019-09-06 10:25:55 +01:00
parent 2f360de3b6
commit dbbdf1a4a9

View File

@@ -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 () => { }
}