Starts in:
1 DAY
21 HRS
49 MIN
14 SEC
Starts in:
1 D
21 H
49 M
14 S
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


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 - authserver/libs/@fortawesome/fontawesome-free/webfonts/fa-solid-900.woff2 - authserver/Themes/LeptonX/Global/side-menu/libs/bootstrap-icons/font/fonts/bootstrap-icons.woff2?30af91bf14e37666a085fb8a161ff36d

    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

  • 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?

Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06