mirror of
https://github.com/Tria-plc/emaui.git
synced 2026-08-26 19:12:50 +00:00
Fix BASE_API_URL to use the correct default port for local development
This commit is contained in:
@@ -5,7 +5,7 @@ import { resolveSessionContext } from "../session";
|
|||||||
export const BASE_API_URL =
|
export const BASE_API_URL =
|
||||||
(import.meta as { env?: Record<string, string> }).env?.[
|
(import.meta as { env?: Record<string, string> }).env?.[
|
||||||
"VITE_BASE_API_URL"
|
"VITE_BASE_API_URL"
|
||||||
] ?? "http://localhost:3001/api";
|
] ?? "http://localhost:3000/api";
|
||||||
|
|
||||||
let _onTokenExpired: (() => Promise<string>) | null = null;
|
let _onTokenExpired: (() => Promise<string>) | null = null;
|
||||||
let _onAuthFailure: (() => void) | null = null;
|
let _onAuthFailure: (() => void) | null = null;
|
||||||
|
|||||||
Reference in New Issue
Block a user