changed api endpoint

This commit is contained in:
Marcus Ferl 2023-07-26 10:58:06 +02:00
parent 6b79878e8d
commit eba2406db5

View File

@ -14,11 +14,12 @@ export class UsersService {
}
loadAllUsers(): Observable<User[]> {
return this.http.get<User[]>('https://localhost:7090/api/getAllUsers');
return this.http.get<User[]>('https://weiferl-web.azurewebsites.net/api/getAllUsers');
}
addNewUser(user: User) {
return this.http.post('https://localhost:7090/api/addUser', user);
return this.http.post('https://weiferl-web.azurewebsites.net/api/addUser', user);
}
formatDates(users: User[]): User[] {