toevoeging baseApi + versienummer
All checks were successful
Docker Image CI / build-and-push (push) Successful in 2m16s
Docker Image CI / deploy (push) Successful in 33s

This commit is contained in:
2025-03-13 22:23:44 +01:00
parent 9ca282ca3f
commit 0ebf648017
11 changed files with 31 additions and 12 deletions

View File

@@ -2,14 +2,13 @@ import {Injectable} from '@angular/core';
import {HttpClient} from '@angular/common/http';
import {Customer} from '../models/customer';
import {Observable} from 'rxjs';
import {environment} from '../../environments/environment';
@Injectable({
providedIn: 'root',
})
export class CustomerService {
// baseApi = "http://localhost:8080/api/customers";
baseApi = "https://api.melvanveen.nl/api/customers";
baseApi = `${environment.baseApi}/customers`;
constructor(private http: HttpClient) {
}