I migrated my angular 17 project to angular 18 and found out that proxy.conf.json did not worked for me. What might be the problem here? Thank you in advance
"{
/api/*": {
"target": "http://127.0.0.1:8000",
"secure": false,
"changeOrigin": true,
"logLevel": "debug"
}
}```
As suggested by @PreetBista adding two ** (/api/** ) after api works fine in most of the cases. Try this first before looking for other solutions
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With