Media paths in MDX files break on astro build in Netlify, but works fine locally with npm run dev
In my package.json I have these versions:
"@astrojs/mdx": "^2.1.1",
"astro": "^4.0.7"
I'm using Astro's Portfolio starter. The front matter images load fine when I view them from within my work.astro route once built on Netlify, but none of my media from my assets folder in public loads in my MDX files including the same front matter image.
Here's a few of my paths look like in my MDX files:
"../assets/work-media/IXS-Odyssey/Odyssey Gameplay Trailer.mp4"
"../assets/work-media/OurFirstKiss/OurFirstKiss-AltControllers.png"
This is my website currently: https://treverberryman.com/work/ixs-odyssey-vr/
Unity3D VR Sci-fi Survival Horror set in Space