2018-06-14 16:49:28 +02:00
|
|
|
import processReducer from "./reducers/orders/processReducers";
|
|
|
|
|
|
|
|
|
|
const APPLICAITON_MODE = 'DEV';
|
|
|
|
|
const APPLICATION_NAME = 'Co-Market';
|
|
|
|
|
const API_VERSION = 'v2';
|
|
|
|
|
|
|
|
|
|
const API_SERVER_BASE = (() => {
|
|
|
|
|
if(APPLICAITON_MODE === 'TEST'){
|
|
|
|
|
return process.env.REACT_APP_TEST_URL;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if(APPLICAITON_MODE === 'PROD'){
|
|
|
|
|
return process.env.REACT_APP_PROD_URL;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
return process.env.REACT_APP_DEV_URL;
|
|
|
|
|
})();
|
|
|
|
|
|
2018-07-26 13:47:59 +02:00
|
|
|
const API_SERVER = API_SERVER_BASE
|
2018-06-14 16:49:28 +02:00
|
|
|
|
|
|
|
|
export {APPLICAITON_MODE, API_SERVER_BASE, API_SERVER, APPLICATION_NAME}
|