baseUrl.js 207 Bytes
Newer Older
Kim, Subin's avatar
Kim, Subin committed
1
2
3
4
5
6
import clientConfig from './clientConfig'

const baseUrl = process.env.NODE_ENV === 'production'
    ? `http://localhost:3001/${clientConfig.serverRoot}`
    : `http://localhost:3000`

Kim, Subin's avatar
Kim, Subin committed
7
export default baseUrl