parent
d8a080a802
commit
d717ed6b85
File diff suppressed because it is too large
Load Diff
@ -1,17 +1,20 @@ |
|||||||
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: { |
||||||
production: 'https://api.instat.tv', |
api: 'https://api-test.instat.tv', |
||||||
staging: 'https://api-staging.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 = AUTH_SERVICE_URLS[ENV] |
export const AUTH_SERVICE = APIS[ENV].auth |
||||||
export const API_ROOT = APIS[ENV] |
export const API_ROOT = APIS[ENV].api |
||||||
export const DATA_URL = `${API_ROOT}/data` |
export const DATA_URL = `${API_ROOT}/data` |
||||||
|
|||||||
@ -1 +0,0 @@ |
|||||||
export const MATCH_SIDE_PLAYLIST_WIDTH = [33, 33, 33] |
|
||||||
@ -1,5 +1,4 @@ |
|||||||
export enum Tabs { |
export enum Tabs { |
||||||
WATCH, |
WATCH, |
||||||
EVENTS, |
EVENTS, |
||||||
LANGUAGES, |
|
||||||
} |
} |
||||||
|
|||||||
Loading…
Reference in new issue