Home App Docs Blog Github

In builder editor, relative urls work from localhost, but not deployed site

I have a relative url like /images/home-hero.png. When running the editor against http://localhost:3000, the url as expected resolves to http://localhost:3000/images/home-hero.png.

However, if I change the editor to run against https://alchemycodelab.vercel.app/ the image (or any other resources fetched via relative url) won’t load as it is trying to fetch it from https://https___alchemycodelab__vercel__app.preview.builder.codes/images/home-hero.png

Thanks in advance for your help

I disabled “Proxy Previews” in Advanced Space settings and that fixed the issue!