Add user login page #43

Merged
Huffle merged 7 commits from users into main 2025-05-15 11:09:00 +02:00
Showing only changes of commit 6979368eda - Show all commits

View File

@ -7,7 +7,7 @@ import { User } from '../models/user';
providedIn: 'root',
})
export class UserService {
private url = 'localhost:59772/api';
private url = 'http://localhost:8080/api';
constructor(private http: HttpClient) {}
getUserList(): Observable<Array<User>> {
@ -17,4 +17,4 @@ export class UserService {
getUserById(id: number): Observable<User> {
return this.http.get<User>(`${this.url}/user/${id}`);
}
}
}