fix(api): update BASE_API_URL to use localhost:3000 for consistency

This commit is contained in:
nati14575
2026-08-17 09:58:51 +03:00
parent fa7eb3dc5f
commit c698f381b9
6 changed files with 6 additions and 6 deletions

View File

@@ -4,7 +4,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;

View File

@@ -9,7 +9,7 @@ import type {
const BASE_API_URL =
(import.meta as { env?: Record<string, string> }).env?.['VITE_BASE_API_URL'] ??
'http://localhost:3001/api';
'http://localhost:3000/api';
/**
* Uploads a document straight to the API.