Skip to content

LmsHtmlFragment.css not found #1642

Open
Open
@angonz

Description

@angonz

<base href="${getConfig().LMS_BASE_URL}" target="_parent">
<link rel="stylesheet" href="/static/${getConfig().LEGACY_THEME_NAME ? `${getConfig().LEGACY_THEME_NAME}/` : ''}css/bootstrap/lms-main.css">
<link rel="stylesheet" type="text/css" href="${getConfig().BASE_URL}/static/LmsHtmlFragment.css">

The <base href="${getConfig().LMS_BASE_URL}"> tag causes the file URL to start from the LMS base, while the file is actually served from the MFE base URL. This causes 404 error on the file

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugReport of or fix for something that isn't working as intended

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions