mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
10 lines
243 B
TypeScript
10 lines
243 B
TypeScript
export const runtime = 'edge'
|
|
export const dynamic = 'force-dynamic'
|
|
|
|
export async function GET(req, props) {
|
|
const params = await props.params
|
|
return new Response(
|
|
`Hello from /app/dynamic/[slug]/route.ts. Slug: ${params.slug}`
|
|
)
|
|
}
|