I have an Angular application I've deployed to an IIS web application at my-machine:8111/my-app. I've set both the base tag and the APP_BASE_HREF value mentioned in this answer to the absolute URL for the app: https://my-machine:8111/my-app/.
For some reason, when I initially load the application—when I hit that absolute URL—I get an error:
Error: Cannot match any routes. URL Segment: 'my-app'
I don't know why the web application name is being read as part of the Angular route. I'm sure the base URL is correct: If I take of the last slash or try a relative path I can't even load the application.
Why isn't it routing to /? How can I fix it?