Skip to content

Commit

Permalink
fix: domain
Browse files Browse the repository at this point in the history
  • Loading branch information
xsteadybcgo committed Sep 6, 2021
1 parent f5d9e19 commit 5040108
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/config/origin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ 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-pro.elara2.patract.cn/api'
API_DOMAIN = '/api'

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'
API_DOMAIN = '/api'

ENDPOINTS_URL = 'https://service.elara.patract.io'
WSS_ENDPOINTS_URL = 'wss://service.elara.patract.io'
Expand Down

0 comments on commit 5040108

Please sign in to comment.