next.js/test/e2e/app-dir/cache-components/app/routes/static-string-sync/route.ts
route.ts12 lines289 B
import type { NextRequest } from 'next/server'

import { getSentinelValue } from '../../getSentinelValue'

export function GET(request: NextRequest) {
  const response = JSON.stringify({
    value: getSentinelValue(),
    message: 'string response',
  })
  return new Response(response)
}
Quest for Codev2.0.0
/
SIGN IN