I'm deploying a new app, my first ABP project. For operational reasons internal to my organization, it's deployed to a subdirectory, not the domain root. Thus, the app's base URL is https://example.com/Session/Onboarding
, not https://example.com
.
The problem is that much of the content is throwing 404 errors. As an example, the app is trying to load blazor.web.js
from https://example.com/_framework/blazor.web.js
and getting a 404 error. The correct URL is https://example.com/Session/Onboarding/_framework/blazor.web.js
.
The relevant portion of appsettings.json
is:
{
"App": {
"SelfUrl": "https://example.com/Session/Onboarding",
"RedirectAllowedUrls": "https://example.com/Session/Onboarding"
},
}
Where do I make the configuration settings to use the correct base URL?