Skip to content

Commit

Permalink
migration test
Browse files Browse the repository at this point in the history
  • Loading branch information
adlk committed Dec 19, 2024
1 parent b314424 commit b74360a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down
5 changes: 5 additions & 0 deletions src/environment.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit b74360a

Please sign in to comment.