Docker update

This commit is contained in:
2025-10-10 00:28:37 +05:30
parent 0d79536895
commit 317f3a6667
6 changed files with 6 additions and 6 deletions

View File

@ -32,7 +32,7 @@ export interface Blog {
} }
class BlogService { 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<Blog[]> { async getAllBlogs(): Promise<Blog[]> {
try { try {

View File

@ -39,7 +39,7 @@ export interface JobApplicationData {
} }
class CareerService { 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<Job[]> { async getActiveJobs(): Promise<Job[]> {
try { try {

View File

@ -46,7 +46,7 @@ export interface CourseApplicationData {
} }
class EducationService { 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<Course[]> { async getActiveCourses(): Promise<Course[]> {
try { try {

View File

@ -25,7 +25,7 @@ export interface ApiEvent {
} }
class EventService { 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<Event[]> { async getAllEvents(): Promise<Event[]> {
try { try {

View File

@ -5,7 +5,7 @@ export interface FileUploadResponse {
} }
class FileUploadService { 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<FileUploadResponse> { async uploadFile(file: File): Promise<FileUploadResponse> {
const formData = new FormData(); const formData = new FormData();

View File

@ -19,7 +19,7 @@ export interface UpcomingEvent {
} }
class UpcomingEventsService { 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<UpcomingEvent[]> { async getActiveUpcomingEvents(): Promise<UpcomingEvent[]> {
try { try {