Fix BASE_API_URL to use the correct default port for local development

This commit is contained in:
nati14575
2026-08-22 09:13:15 +03:00
parent e82714ba1f
commit ef45360fa7

View File

@@ -5,7 +5,7 @@ import { resolveSessionContext } from "../session";
export const BASE_API_URL =
(import.meta as { env?: Record<string, string> }).env?.[
"VITE_BASE_API_URL"
] ?? "http://localhost:3001/api";
] ?? "http://localhost:3000/api";
let _onTokenExpired: (() => Promise<string>) | null = null;
let _onAuthFailure: (() => void) | null = null;