Skip to content

Commit ef6f9fb

Browse files
committed
link
1 parent f1805a5 commit ef6f9fb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/next/src/server/lib/router-utils/block-cross-site.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export const blockCrossSite = (
2525
}
2626
res.end('Unauthorized')
2727
warnOnce(
28-
`Blocked cross-origin request to /_next/*. To allow this, configure "allowedDevOrigins" in next.config\nRead more: https://nextjs.org/docs/app/api-reference/config/next-config-js/basePath`
28+
`Blocked cross-origin request to /_next/*. To allow this, configure "allowedDevOrigins" in next.config\nRead more: https://nextjs.org/docs/app/api-reference/config/next-config-js/allowedDevOrigins`
2929
)
3030
return true
3131
}
@@ -55,7 +55,7 @@ export const blockCrossSite = (
5555
}
5656
res.end('Unauthorized')
5757
warnOnce(
58-
`Blocked cross-origin request from ${originLowerCase}. To allow this, configure "allowedDevOrigins" in next.config\nRead more: https://nextjs.org/docs/app/api-reference/config/next-config-js/basePath`
58+
`Blocked cross-origin request from ${originLowerCase}. To allow this, configure "allowedDevOrigins" in next.config\nRead more: https://nextjs.org/docs/app/api-reference/config/next-config-js/allowedDevOrigins`
5959
)
6060
return true
6161
}

0 commit comments

Comments
 (0)