Fix missing scheme in API url

This commit is contained in:
Sebastiaan de Schaetzen 2025-05-14 16:50:23 +02:00
parent fd14c12a4a
commit 6979368eda

View File

@ -7,7 +7,7 @@ import { User } from '../models/user';
providedIn: 'root', providedIn: 'root',
}) })
export class UserService { export class UserService {
private url = 'localhost:59772/api'; private url = 'http://localhost:8080/api';
constructor(private http: HttpClient) {} constructor(private http: HttpClient) {}
getUserList(): Observable<Array<User>> { getUserList(): Observable<Array<User>> {