mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
15 lines
329 B
TypeScript
15 lines
329 B
TypeScript
import { connection } from 'next/server'
|
|
|
|
export default async function Page() {
|
|
await connection()
|
|
return <p>suspenseful - dynamic</p>
|
|
}
|
|
|
|
export async function generateMetadata() {
|
|
await connection()
|
|
await new Promise((resolve) => setTimeout(resolve, 1 * 1000))
|
|
return {
|
|
title: 'suspenseful page - dynamic',
|
|
}
|
|
}
|