diff options
author | 2019-09-05 11:15:17 +0200 | |
---|---|---|
committer | 2019-09-05 11:15:17 +0200 | |
commit | 3c69cb8789f8887046309b7afeec2ba55ed1d534 (patch) | |
tree | d8f51eada6cb89aa959cf97f8793fb5697857e8e /src/environment.js | |
parent | Fix isPro state (diff) | |
download | ferdium-app-3c69cb8789f8887046309b7afeec2ba55ed1d534.tar.gz ferdium-app-3c69cb8789f8887046309b7afeec2ba55ed1d534.tar.zst ferdium-app-3c69cb8789f8887046309b7afeec2ba55ed1d534.zip |
create test build
Diffstat (limited to 'src/environment.js')
-rw-r--r-- | src/environment.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/environment.js b/src/environment.js index 4be2c7d70..9ec2acf9f 100644 --- a/src/environment.js +++ b/src/environment.js | |||
@@ -1,12 +1,12 @@ | |||
1 | import isDev from 'electron-is-dev'; | 1 | import isDev from 'electron-is-dev'; |
2 | 2 | ||
3 | import { | 3 | import { |
4 | LIVE_API, | 4 | // LIVE_API, |
5 | DEV_API, | 5 | DEV_API, |
6 | LOCAL_API, | 6 | LOCAL_API, |
7 | LOCAL_API_WEBSITE, | 7 | LOCAL_API_WEBSITE, |
8 | DEV_API_WEBSITE, | 8 | DEV_API_WEBSITE, |
9 | LIVE_API_WEBSITE, | 9 | // LIVE_API_WEBSITE, |
10 | LIVE_WS_API, | 10 | LIVE_WS_API, |
11 | LOCAL_WS_API, | 11 | LOCAL_WS_API, |
12 | DEV_WS_API, | 12 | DEV_WS_API, |
@@ -36,11 +36,11 @@ let wsApi; | |||
36 | let web; | 36 | let web; |
37 | let todos; | 37 | let todos; |
38 | if (!isDevMode || (isDevMode && useLiveAPI)) { | 38 | if (!isDevMode || (isDevMode && useLiveAPI)) { |
39 | api = LIVE_API; | 39 | // api = LIVE_API; |
40 | // api = DEV_API; | 40 | api = DEV_API; |
41 | wsApi = LIVE_WS_API; | 41 | wsApi = LIVE_WS_API; |
42 | web = LIVE_API_WEBSITE; | 42 | // web = LIVE_API_WEBSITE; |
43 | // web = DEV_API_WEBSITE; | 43 | web = DEV_API_WEBSITE; |
44 | todos = PRODUCTION_TODOS_FRONTEND_URL; | 44 | todos = PRODUCTION_TODOS_FRONTEND_URL; |
45 | } else if (isDevMode && useLocalAPI) { | 45 | } else if (isDevMode && useLocalAPI) { |
46 | api = LOCAL_API; | 46 | api = LOCAL_API; |