mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
When there’s a request input instance and init object present the same time, we should respect init as preferred Closes NEXT-2149
13 lines
230 B
JavaScript
13 lines
230 B
JavaScript
export default async function Page() {
|
|
await fetch(
|
|
new Request(
|
|
'https://next-data-api-endpoint.vercel.app/api/random?request-input'
|
|
),
|
|
{
|
|
cache: 'no-store',
|
|
}
|
|
)
|
|
|
|
return <div>Hello World!</div>
|
|
}
|