diff options
Diffstat (limited to 'src')
-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 9ec2acf9f..4be2c7d70 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; |