Changed to proxy
This commit is contained in:
@@ -7,7 +7,7 @@ import { Item } from '../models/item';
|
||||
providedIn: 'root'
|
||||
})
|
||||
export class ApiService {
|
||||
private apiUrl = 'http://localhost:8080/api/items';
|
||||
private apiUrl = '/api/items';
|
||||
|
||||
constructor(private http: HttpClient) { }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user