baseUrl.js 266 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
8
9
const TMDBUrl = "https://api.themoviedb.org/3/movie"

export { baseUrl, TMDBUrl }