File size: 280 Bytes
1e92f2d
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
export default async function Page() {
  const data = await fetch(
    `https://next-data-api-endpoint.vercel.app/api/random`,
    { cache: 'default' }
  ).then((res) => res.text())

  return (
    <>
      <p>/default-config-fetch</p>
      <p id="data">{data}</p>
    </>
  )
}