baseUrl.js 223 Bytes
Newer Older
Jiwon Yoon's avatar
Jiwon Yoon committed
1
2
3
4
5
6
7
import clientConfig from './clientConfig'

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

export default baseUrl