redirect to beta web interface after login
import { Client } from '../lib/shinpuru-ts/src';
-const API_ENDPOINT = import.meta.env.PROD
- ? '/api'
- : 'http://localhost:8080/api';
+const API_ENDPOINT = import.meta.env.PROD ? '/api' : 'http://localhost:8080/api';
-export const LOGIN_ROUTE = API_ENDPOINT + '/auth/login';
+export const LOGIN_ROUTE = API_ENDPOINT + '/auth/login?redirect=/beta/'; // TODO: Remove the redirect when it goes to prod!
export const APIClient = new Client(API_ENDPOINT);
