import { ENV } from './env'

const APIS = {
  preproduction: {
    api: 'https://api-test.instat.tv',
    auth: 'https://auth.instat.tv',
  },
  production: {
    api: 'https://api.instat.tv',
    auth: 'https://auth.instat.tv',
  },
  staging: {
    api: 'https://api-staging.instat.tv',
    auth: 'https://test-auth.instat.tv',
  },
}

export const AUTH_SERVICE = APIS[ENV].auth
export const API_ROOT = APIS[ENV].api
export const DATA_URL = `${API_ROOT}/data`
