diff --git a/src/services/blogService.ts b/src/services/blogService.ts index 1e696cf..a52ee8b 100644 --- a/src/services/blogService.ts +++ b/src/services/blogService.ts @@ -32,7 +32,7 @@ export interface Blog { } class BlogService { - private apiBaseUrl = process.env.NEXT_PUBLIC_API_BASE_URL || 'http://localhost:8080'; + private apiBaseUrl = process.env.NEXT_PUBLIC_API_URL || 'http://localhost:8080'; async getAllBlogs(): Promise { try { diff --git a/src/services/careerService.ts b/src/services/careerService.ts index 04e08e2..8382d9e 100644 --- a/src/services/careerService.ts +++ b/src/services/careerService.ts @@ -39,7 +39,7 @@ export interface JobApplicationData { } class CareerService { - private apiBaseUrl = process.env.NEXT_PUBLIC_API_BASE_URL || 'http://localhost:8080'; + private apiBaseUrl = process.env.NEXT_PUBLIC_API_URL || 'http://localhost:8080'; async getActiveJobs(): Promise { try { diff --git a/src/services/educationService.ts b/src/services/educationService.ts index 96a4a11..25a204e 100644 --- a/src/services/educationService.ts +++ b/src/services/educationService.ts @@ -46,7 +46,7 @@ export interface CourseApplicationData { } class EducationService { - private apiBaseUrl = process.env.NEXT_PUBLIC_API_BASE_URL || 'http://localhost:8080'; + private apiBaseUrl = process.env.NEXT_PUBLIC_API_URL || 'http://localhost:8080'; async getActiveCourses(): Promise { try { diff --git a/src/services/eventService.ts b/src/services/eventService.ts index 490de0d..e65637e 100644 --- a/src/services/eventService.ts +++ b/src/services/eventService.ts @@ -25,7 +25,7 @@ export interface ApiEvent { } class EventService { - private apiBaseUrl = process.env.NEXT_PUBLIC_API_BASE_URL || 'http://localhost:8080'; + private apiBaseUrl = process.env.NEXT_PUBLIC_API_URL || 'http://localhost:8080'; async getAllEvents(): Promise { try { diff --git a/src/services/fileUploadService.ts b/src/services/fileUploadService.ts index 94a3356..b571356 100644 --- a/src/services/fileUploadService.ts +++ b/src/services/fileUploadService.ts @@ -5,7 +5,7 @@ export interface FileUploadResponse { } class FileUploadService { - private apiBaseUrl = process.env.NEXT_PUBLIC_API_BASE_URL || 'http://localhost:8080'; + private apiBaseUrl = process.env.NEXT_PUBLIC_API_URL || 'http://localhost:8080'; async uploadFile(file: File): Promise { const formData = new FormData(); diff --git a/src/services/upcomingEventsService.ts b/src/services/upcomingEventsService.ts index ce9eeb5..111cf34 100644 --- a/src/services/upcomingEventsService.ts +++ b/src/services/upcomingEventsService.ts @@ -19,7 +19,7 @@ export interface UpcomingEvent { } class UpcomingEventsService { - private apiBaseUrl = process.env.NEXT_PUBLIC_API_BASE_URL || 'http://localhost:8080'; + private apiBaseUrl = process.env.NEXT_PUBLIC_API_URL || 'http://localhost:8080'; async getActiveUpcomingEvents(): Promise { try {