anvil/striker-ui/lib/consts/API_BASE_URL.ts
2021-06-04 12:11:48 -04:00

8 lines
184 B
TypeScript

import IS_DEV_ENV from './IS_DEV_ENV';
const API_BASE_URL = IS_DEV_ENV
? process.env.DEVELOPMENT_API_BASE_URL
: process.env.PRODUCTION_API_BASE_URL;
export default API_BASE_URL;