How to deploy to non root folder on IIS in production? #594
HjalteParner
started this conversation in
General
Replies: 1 comment
-
@HjalteParner any chance that you got it solved ? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When deploying the solution to a website root folder, everything works as expected. However when deploying to a non root folder i.e. as a web application on IIS, all api calls goes to the website root i.e. /api instead of /webapp/api which causes all api calls to fail.
How do I solve this, please?
P.S. I have set the angular base-ref to the /webapp/ and added a web.config redirecting all request to /webapp/ as described as a solution many places to this issue. However the api calls still do not work.
Beta Was this translation helpful? Give feedback.
All reactions