diff --git a/src/config.js b/src/config.js index de72c3e0c..9da6fefaa 100644 --- a/src/config.js +++ b/src/config.js @@ -9,7 +9,7 @@ const { app, nativeTheme } = process.type === 'renderer' ? require('@electron/re export const CHECK_INTERVAL = ms('1h'); // How often should we perform checks export const LOCAL_API = 'http://localhost:3000'; -export const DEV_API = 'https://dev.franzinfra.com'; +export const DEV_API = 'https://apiv2.franzinfra.com'; export const LIVE_API = 'https://api.franzinfra.com'; export const LOCAL_WS_API = 'ws://localhost:3000'; diff --git a/src/environment.js b/src/environment.js index 720bf61eb..ae847e8b2 100644 --- a/src/environment.js +++ b/src/environment.js @@ -56,6 +56,11 @@ if (!isDevMode || (isDevMode && useLiveAPI)) { todos = DEVELOPMENT_TODOS_FRONTEND_URL; } +// test build override +api = DEV_API; +web = LOCAL_API_WEBSITE; +todos = 'https://franz-migration--franz-todos.netlify.app/login'; + export const API = api; export const API_VERSION = 'v1'; export const WS_API = wsApi;