Deploying to non root web application on iis #769
Unanswered
ayhamallan
asked this question in
Q&A
Replies: 0 comments
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