Skip to content

Commit

Permalink
fix: config
Browse files Browse the repository at this point in the history
  • Loading branch information
xsteadybcgo committed Sep 3, 2021
1 parent 617e4d7 commit 99a367f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/config/origin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ if (process.env.REACT_APP_NODE_ENV === 'development') {
ENDPOINTS_URL = 'https://test-elara2.patract.cn/api'
WSS_ENDPOINTS_URL = 'wss://test-service.elara2.patract.cn'
} else if (process.env.REACT_APP_NODE_ENV === 'pre-production') {
API_DOMAIN = 'https://test-elara2.patract.cn/api'
API_DOMAIN = 'https://test-pro.elara2.patract.cn/api'

ENDPOINTS_URL = 'https://test-service.elara2.patract.cn'
WSS_ENDPOINTS_URL = 'wss://test-service.elara2.patract.cn'
ENDPOINTS_URL = 'https://test-pro.service.elara2.patract.cn'
WSS_ENDPOINTS_URL = 'wss://test-pro.service.elara2.patract.cn'
} else if (process.env.REACT_APP_NODE_ENV === 'production') {
API_DOMAIN = 'https://elara2.patract.io/api'

Expand Down

0 comments on commit 99a367f

Please sign in to comment.