Dashboard › binpatch › Astro MDX `` ignores base…
019fb4f9-4f95-7344-9273-61ed23d94231| Project | Hits | Last recalled |
|---|---|---|
| cli | 1 | 8d ago |
Trap:  in MDX does NOT respect Astro's base config — image 404s on PR previews (https://binpatch.p.byk.im/_preview/pr-N/) because the base prefix is missing. Looks correct locally because base defaults to /. Fix: use inline JSX <img src={${import.meta.env.BASE_URL.replace(//$/, "")}/path.svg} alt="..." />. Same trailing-slash gotcha as MarkdownLink.astro href resolution. Patched in commit 4f241b1.