fix(auth): auth api test

test-j
Rakov Roman 3 years ago
parent 3e4ed189d3
commit c2b7b6a973
  1. 8
      src/config/routes.tsx
  2. 5
      src/features/AuthServiceApp/config/routes.tsx

@ -8,14 +8,12 @@ export const APIS = {
auth: 'https://auth.insports.tv', auth: 'https://auth.insports.tv',
}, },
production: { production: {
api: 'https://api.test.insports.tv', api: 'https://api.insports.tv',
auth: 'https://www.auth.test.insports.tv', auth: 'https://auth.test.insports.tv',
// api: 'https://api.insports.tv',
// auth: 'https://auth.insports.tv',
}, },
staging: { staging: {
api: 'https://api.test.insports.tv', api: 'https://api.test.insports.tv',
auth: 'https://auth.test.insports.tv', auth: 'https://www.auth.test.insports.tv',
}, },
} }

@ -2,9 +2,8 @@ import { ENV } from 'config/env'
const APIS = { const APIS = {
preproduction: 'https://auth.insports.tv', preproduction: 'https://auth.insports.tv',
production: 'https://auth.test.insports.tv', production: 'https://auth.insports.tv',
// production: 'https://auth.insports.tv', staging: 'https://www.auth.test.insports.tv',
staging: 'https://auth.test.insports.tv',
} }
export const API_ROOT = APIS[ENV] export const API_ROOT = APIS[ENV]

Loading…
Cancel
Save