fix: update package versions for EntityFramework and adjust API endpoint in login component

This commit is contained in:
Marek Lesko
2025-07-30 08:05:36 +02:00
parent 329fb94a3a
commit af127b716e
4 changed files with 9 additions and 10 deletions

View File

@@ -13,7 +13,7 @@ export class Login implements OnInit {
}
ngOnInit(): void {
this.httpClient.get('http://localhost:5000/swagger/v1/swagger.json', {
this.httpClient.get('https://localhost:5001/api/product', {
headers: new HttpHeaders({ Authorization: `Bearer ${this.as.getAccessToken()}` }).append('Content-Type', 'application/json')
}
).subscribe(console.warn);