I am using angular for frontend and laravel for backend.
When I start the client angular app using below command:
ng serve --open --proxy-config proxy.conf.json
It loads js files from laravel backend public folder.
Angular requests (in browser console)
GET http://localhost:4200/server/client/inline.655c959301e57e1e55b1.bundle.js return 404 not found or ::net::ERR_ABORTED
When I open it in browser without port, it loads.
I am using below proxy setting in angular:
{
"/secure": {
"target": "http://localhost:80/server",
"secure": false
},
"/storage": {
"target": "http://localhost:80/server",
"secure": false
}
}