Hi Kim, thanks for the informative post, much appreciate this. I got an issue when I deploy my mvc react application to the IIS server. As IIS will put a virtual path as the project root so the url will be server/myApp (server deployment) instead of localhost/ (local test). This will break many things like need to be to make it works on IIS server. Also http controller call like axios.post('/someController/someMethod') needs to be axios.post('/myApp/someController/someMethod'). Any suggestion on how to fix these path issues ? Thanks in advance
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hi Kim, thanks for the informative post, much appreciate this. I got an issue when I deploy my mvc react application to the IIS server. As IIS will put a virtual path as the project root so the url will be server/myApp (server deployment) instead of localhost/ (local test). This will break many things like need to be to make it works on IIS server. Also http controller call like axios.post('/someController/someMethod') needs to be axios.post('/myApp/someController/someMethod'). Any suggestion on how to fix these path issues ? Thanks in advance