I'm trying to deploy angular but I'm having problems in the production environment (kinghost or github pages)
Locally (ng serves --proxy-config proxy.config.json) I use proxy.config.json which redirects my api routes, but the production environment does not see this file since I get ng build --prod .
"/api_app/*": {
"target": "URL DA API",
"secure": false,
"logLevel": "debug"
},
- How do I configure GitHub Pages with this setting?
- How?
- If not, how can I configure this in KingHost in any way? If you have no other recommendation?
Deploy link on github pages: link