toevoeging baseApi + versienummer
This commit is contained in:
@@ -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) {
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user