Open Closed

Theme LeptonX not found when deploy app with domain sub folder #4005


User avatar
0
FPT_TuyenDN1 created
  • ABP Framework version: v6.0.0

  • UI type: MVC

  • DB provider: EF Core

Hi team!
When I deploy my app AuthenService theme LeptonX with domain sub folder, it cannot find theme with my route. it find to default domain folder. How to change it to find my route ex: mydomain/authserver/Themes/LeptonX/Global/side-menu/css/bootstrap-dim.css

routing.png


4 Answer(s)
  • User Avatar
    1
    enisn created
    Support Team .NET Developer

    How did you deploy? Docker, filesystem,..etc?

    Make sure you run abp install-libs before building the docker image. Those wwwroot files should be included in the docker image.

  • User Avatar
    0
    FPT_TuyenDN1 created

    after run abp install-libs, clear cache browser, some Url can redirect like:
    - authserver/__bundles/LeptonX.Global.xxxxxx.css
    image.png
    - authserver/libs/@fortawesome/fontawesome-free/webfonts/fa-solid-900.woff2
    image.png
    - authserver/Themes/LeptonX/Global/side-menu/libs/bootstrap-icons/font/fonts/bootstrap-icons.woff2?30af91bf14e37666a085fb8a161ff36d
    image.png

    but there are some Urls still not redirect to correct subPath
    - Themes/LeptonX/Global/side-menu/css/bootstrap-dark.css
    - Themes/LeptonX/Global/side-menu/css/dark.css

    image.png

  • User Avatar
    0
    FPT_TuyenDN1 created

    Can someone help me to solve it?

  • User Avatar
    0
    enisn created
    Support Team .NET Developer

    We can't reproduce the issue. can you provide a sample project that reproduces the issue?

Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
Do you need assistance from an ABP expert?
Schedule a Meeting
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v9.2.0-preview. Updated on March 13, 2025, 04:08