@@ -2,7 +2,7 @@ import { browser } from '$app/environment';
|
||||
|
||||
// API Client für Backend-Kommunikation
|
||||
const API_BASE_URL = browser
|
||||
? (import.meta.env.VITE_API_BASE_URL || '/api')
|
||||
? (import.meta.env.VITE_API_BASE_URL || 'http://localhost:3000/api')
|
||||
: (import.meta.env.VITE_INTERNAL_API_URL || 'http://backend:3000/api');
|
||||
|
||||
interface ApiResponse<T> {
|
||||
|
||||
Reference in New Issue
Block a user