From b74360ae08c27a663e262c7d223175a1254d318e Mon Sep 17 00:00:00 2001 From: Stefan Malzner Date: Wed, 18 Dec 2024 14:55:33 +0100 Subject: [PATCH] migration test --- src/config.js | 2 +- src/environment.js | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) 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;