Activities of "martin.gemme.uzi"

~~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.~~

  • Template: microservice
  • Created ABP Studio Version: 0.9.21
  • Current ABP Studio Version: 0.9.25
  • Multi-Tenancy: Yes
  • UI Framework: blazor-webapp
  • Theme: leptonx
  • Theme Style: light
  • Run Install Libs: Yes
  • Database Provider: ef
  • Database Management System: sqlserver
  • Mobile Framework: none
  • Public Website: No
  • Include Tests: Yes
  • Dynamic Localization: No
  • Kubernetes Configuration: Yes
  • Use Local References: No
  • Optional Modules:
    • OpenIddictAdmin
  • Exception message and full stack trace: 404 not found for images of the theme

  • Steps to reproduce the issue:

  1. Create a ABP microservice with the LeptonX theme (auth server)
  2. app.UsePathBase(new PathString(pathBase)); within the Module
  3. The background being hardcoded to /, we get 404 with no option to override it
public 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.

Showing 1 to 1 of 1 entries
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.1.0-preview. Updated on December 17, 2025, 07:08
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.