Skip to content

Commit 1ce5e91

Browse files
committed
fix(misc): exclude .netlify paths from Framer proxy edge function
## Current Behavior Requests to `/.netlify/images?url=...` are intercepted by the Framer proxy edge function and forwarded to Framer, returning broken images on docs pages (e.g. sandboxing page). ## Expected Behavior `/.netlify/*` requests pass through to Next.js, which rewrites them to the astro-docs site where the actual images are hosted. ## Related Issue(s) Fixes DOC-436
1 parent 7bdeeef commit 1ce5e91

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

netlify/edge-functions/rewrite-framer-urls.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ export const config = {
8181
'/blog/*',
8282
'/courses/*',
8383
'/_next/*',
84+
'/.netlify/*',
8485
'/favicon.ico',
8586
'/webinar',
8687
'/sitemap.xml',

0 commit comments

Comments
 (0)