diff --git a/src/app/services/appointment.service.ts b/src/app/services/appointment.service.ts index 0bb0ff6..17b53a7 100644 --- a/src/app/services/appointment.service.ts +++ b/src/app/services/appointment.service.ts @@ -6,8 +6,8 @@ import {Appointment} from '../models/appointment'; providedIn: 'root', }) export class AppointmentService { - baseApi = "http://localhost:8080/api/appointments"; - // baseApi = "https://api.melvanveen.nl/api/appointments"; + // baseApi = "http://localhost:8080/api/appointments"; + baseApi = "https://api.melvanveen.nl/api/appointments"; constructor(private http: HttpClient) { } diff --git a/src/app/services/auth.service.ts b/src/app/services/auth.service.ts index 4757e1d..adcb8e8 100644 --- a/src/app/services/auth.service.ts +++ b/src/app/services/auth.service.ts @@ -8,8 +8,8 @@ import {jwtDecode} from 'jwt-decode'; providedIn: 'root', }) export class AuthService { - private baseApi = 'http://localhost:8080/api/auth/login'; - // baseApi = "https://api.melvanveen.nl/api/auth/login"; + // private baseApi = 'http://localhost:8080/api/auth/login'; + baseApi = "https://api.melvanveen.nl/api/auth/login"; jwtHelper = new JwtHelperService(); constructor(private http: HttpClient) {} diff --git a/src/app/services/customer.service.ts b/src/app/services/customer.service.ts index f83b141..2a22baf 100644 --- a/src/app/services/customer.service.ts +++ b/src/app/services/customer.service.ts @@ -7,8 +7,8 @@ import {Observable} from 'rxjs'; providedIn: 'root', }) export class CustomerService { - baseApi = "http://localhost:8080/api/customers"; - // baseApi = "https://api.melvanveen.nl/api/customers"; + // baseApi = "http://localhost:8080/api/customers"; + baseApi = "https://api.melvanveen.nl/api/customers"; constructor(private http: HttpClient) {