Skip to content

Commit 4efef60

Browse files
fix: allow proxy of /_next/static (#1503)
Co-authored-by: Nick Taylor <[email protected]>
1 parent acaa792 commit 4efef60

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

plugin/src/templates/edge/runtime.ts

-3
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,6 @@ globalThis.NFRequestContextMap ||= new Map()
4646

4747
const handler = async (req: Request, context: Context) => {
4848
const url = new URL(req.url)
49-
if (url.pathname.startsWith('/_next/static/')) {
50-
return
51-
}
5249

5350
const geo = {
5451
country: context.geo.country?.code,

0 commit comments

Comments
 (0)