diff --git a/src/client/epics/index.js b/src/client/epics/index.js index 281158efb9350baa8d9396598bf31ba8f78de590..f715b5d738ff67db7f32ee4da383e06c18329c7d 100644 --- a/src/client/epics/index.js +++ b/src/client/epics/index.js @@ -15,7 +15,9 @@ import { GET_GEOJSON_FAILED } from '../actions'; -const hiplaApiUrl = 'http://localhost:3001/'; +const hiplaApiUrl = (process.env.NODE_ENV === 'development') + ? 'http://localhost:3001/' + : 'http://193.166.25.181:3005/'; const getSuggestionsEpic = (action$, store) => { const searchUrl = hiplaApiUrl + 'suggest';