I'm working on a angular web project where I have a angular site which communicates with a web api that uses a SQLlite database.
as I am new to angular, now I'm encountering a error where request are sent to the wrong port even though my proxy config is set to the api's port , where do I set the proper routing for traffic between my site and api/database.
The error I'm encountering while sending request:
Http failure response for http://localhost:4200/api/Account/AuthenticateUser: 404 Not Found
my proxy config:
{
"/api": {
"target": "http://localhost:44366/",
"secure": false,
"changeOrigin": true,
"logLevel": "debug"
}
}
sqllite: enter image description here
Note: I'm continuing work from a pre existing project