My proxy.conf.json doesn't work until I watched that vide. The answer was that we have to change "localhost:3000/" from url and left "api/method" only Brilliant
Hey thanks for the video, I wanted to ask for the development this is fine but what do we do for production environment? Is there any other video on your channel for this?
WOW!! where did you read or learn this thing, Sir? I never know two-three things previously, I just learned today, excellent. Thank you so much. I Will wait for your session every weekend. Why don't you make one video on Lazy loaded component on Angular with view Engine (SCAM) and also with Ivy? That will be interesting, Thank you :)
Wonderful insight regarding proxy in angular. Simple and clear and covering almost all the options available. Thank you for making it very easy ☺️
Finally found working example! Thanks bro :)
Wow 😊 This video is very useful 😊
Ningal aallu puliyanu ketta! Good explanation!
My proxy.conf.json doesn't work until I watched that vide. The answer was that we have to change "localhost:3000/" from url and left "api/method" only
Brilliant
Thank you , very useful! Subscribed to your channel.
I've been struggling for 2 days to get my projects aligned, this sorted me out thank you!
Excellent explanation and examples.
Thanks 👍
Thank u thank u so much sir it turns out really important for me
👍👍👍👍👍👍👌👌👌👌✔✔✔✔✔🎶
Thanks 👍
@@JSFrameworks keep uploading the videos like this and please bring out the video about canvas and use of canvas and drag drop ,
Thanks 😊..very informative 👍
Thanks 👍
What is the shortcut do you use to add double quotes automatically on json item ?
I think its formatting shortcut for vscode - alt shift F
Hey thanks for the video, I wanted to ask for the development this is fine but what do we do for production environment? Is there any other video on your channel for this?
In production deployed app, the reverse proxying should be done in the hosting server. Eg. If you use nginx, then it will be nginx reverse proxy
@@JSFrameworks Got it, thanks :) By any chance are you active on twitter?
My twitter handle twitter.com/jsframeworks83 . Not much active :)
Thanks.. Informative.
🙏
WOW!! where did you read or learn this thing, Sir? I never know two-three things previously, I just learned today, excellent. Thank you so much. I Will wait for your session every weekend. Why don't you make one video on Lazy loaded component on Angular with view Engine (SCAM) and also with Ivy? That will be interesting, Thank you :)
Sure will do. Will be new learning for me also 👍
@@JSFrameworks :)
@@JSFrameworks th-cam.com/video/IdVn-ZCr0UY/w-d-xo.html I find this one very interesting too
Thanks ,very useful
Thanks 🙏
Can you do multiple localhosts as a proxy?
yes, based on the url, you can proxy to multiple localhosts
@@JSFrameworks will try it out, thanks!
Didnt work btw, could you help me out?
{
"/configuration/*": {
"target": "localhost:9500",
"secure": false,
"logLevel": "debug"
},
"/sample/get": {
"target": "localhost:44306",
"secure": false,
"logLevel": "debug"
},
"/.auth/*": {
"target": "localhost:9000",
"secure": false,
"logLevel": "debug"
},
"*": {
"target": "localhost:9001",
"secure": false,
"logLevel": "debug"
}
}
Sample proxy.config.json.
Based on the url, the requests will be redirected to different servers
@@JSFrameworks What do I insert in the .js file in module exports?
how can we build proxy on ng build or production
we cannot setup proxy for production build in angular. We need to create a proxy at the web server level eg. using nginx
Thank you ❤️
Good work
Thanks 👍
Yes!!!!🤓 🙌
👍👍
First like..
Thanks :)
I cannot access API data, I have almost watched 30+ videos but 'changeOrigin: true' finally worked. 🥲