This commit is contained in:
@@ -15,7 +15,7 @@ import {
|
||||
} from '../types/timetable.types';
|
||||
|
||||
// API base URL
|
||||
const API_BASE = import.meta.env.VITE_API_URL || 'http://localhost:8000';
|
||||
const API_BASE = import.meta.env.VITE_API_BASE || import.meta.env.VITE_API_URL || '/api';
|
||||
|
||||
// ============================================================================
|
||||
// Helper: Get auth headers
|
||||
|
||||
Reference in New Issue
Block a user