refactor(1803): added auth service staging route (#555)
parent
94977f3df1
commit
369eb8fff5
@ -1,10 +1,17 @@ |
|||||||
import { ENV } from './env' |
import { ENV } from './env' |
||||||
|
|
||||||
|
const AUTH_SERVICE_URLS = { |
||||||
|
preproduction: 'https://test-auth.instat.tv', |
||||||
|
production: 'https://auth.instat.tv', |
||||||
|
staging: 'https://test-auth.instat.tv', |
||||||
|
} |
||||||
|
|
||||||
const APIS = { |
const APIS = { |
||||||
preproduction: 'https://api-test.instat.tv', |
preproduction: 'https://api-test.instat.tv', |
||||||
production: 'https://api.instat.tv', |
production: 'https://api.instat.tv', |
||||||
staging: 'https://api-staging.instat.tv', |
staging: 'https://api-staging.instat.tv', |
||||||
} |
} |
||||||
|
|
||||||
|
export const AUTH_SERVICE = AUTH_SERVICE_URLS[ENV] |
||||||
export const API_ROOT = APIS[ENV] |
export const API_ROOT = APIS[ENV] |
||||||
export const DATA_URL = `${API_ROOT}/data` |
export const DATA_URL = `${API_ROOT}/data` |
||||||
|
|||||||
Loading…
Reference in new issue