openedx / openedx/frontend-app-learning
LmsHtmlFragment.css not found
Open
Nobody has claimed this yet.
bug
- Dominant language
- JavaScript
- Stars
- 70
- Forks
- 335
- Avg merge
- 1d 17h
- Merged PRs (30d)
- 35
Description
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in src/course-home/outline-tab/LmsHtmlFragment.jsx at lines 16-18 and inspect how the base href affects the file URL. Verify that the affected file is requested from the MFE base URL rather than the LMS base URL, then confirm the 404 no longer occurs.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100