api endpoints changed

This commit is contained in:
2025-10-22 22:21:44 +02:00
parent a66609a40c
commit 22266c765b
2 changed files with 5 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
// frontend/src/services/authService.ts
import { Employee } from '../models/Employee';
const API_BASE = 'http://localhost:3002/api';
const API_BASE = process.env.REACT_APP_API_BASE_URL || 'http://localhost:3002/api';
export interface LoginRequest {
email: string;