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

@@ -3,7 +3,7 @@ import type { Bilingual, LicenseCategory, LicenseTemplate, LicenseType } from '@
/** Same resolution — and same fallback — the shared RTK Query baseQuery uses. */
export const API_BASE_URL =
(import.meta as { env?: Record<string, string> }).env?.['VITE_BASE_API_URL'] ??
'http://localhost:3001/api';
'http://localhost:3000/api';
export const STATUS_COLOR: Record<LicenseTemplate['status'], string> = {
DRAFT: 'gray',

View File

@@ -107,7 +107,7 @@ function formatDate(value: string | null | undefined): string {
const API_BASE =
(import.meta as { env?: Record<string, string> }).env?.['VITE_BASE_API_URL'] ??
'http://localhost:3001/api';
'http://localhost:3000/api';
async function generateCertificate(profileId: string): Promise<Blob> {
const token = authStorage.getToken();