~~Check the docs before asking a question: https://abp.io/docs/latest Check the samples to see the basic tasks: https://abp.io/docs/latest/samples The exact solution to your question may have been answered before, and please first use the search on the homepage.~~
Provide us with the following info:
~~🧐 Hint: If you are using the ABP Studio, you can see all the information about your solution from the configuration window, which opens when you right-click on the solution and click on the Solution Configuration button.~~
Exception message and full stack trace: 404 not found for images of the theme
Steps to reproduce the issue:
app.UsePathBase(new PathString(pathBase)); within the Modulepublic override void OnApplicationInitialization(ApplicationInitializationContext context)
{
var app = context.GetApplicationBuilder();
var env = context.GetEnvironment();
var configuration = context.ServiceProvider.GetRequiredService<IConfiguration>();
// ...
var pathBase = configuration["App:BasePath"] ?? "/";
app.UsePathBase(new PathString(pathBase));
// ...
}
Source (LeptonXTheme via abp get-source Volo.Abp.LeptonXTheme): \src\Volo.Abp.AspNetCore.Mvc.UI.Theme.LeptonX\Themes\LeptonX\Layouts\Account\Default.cshtml
<style>
.lpx-login-bg {
background-image: url('/LeptonX/images/login-pages/login-bg-img-@(selectedStyle).svg') !important;
}
// ...
</style>
Under there are the Logo, which I "could" override with a basepath, but I think the framework should handle the UseBasePath to make it more seamless.
If it's better to ask for a consultation let me know, but right now it's hard to customize ABP to enable basepath to work.