NNext.jsSource ↗
The runtime option allows you to select the JavaScript runtime used for rendering your route.

The runtime option allows you to select the JavaScript runtime used for rendering your route.

export const runtime = 'nodejs'
// 'nodejs'
export const runtime = 'nodejs'
// 'nodejs'
  • 'nodejs' (default)
  • 'edge' (deprecated)

Good to know:

  • The Edge Runtime is deprecated. Remove the runtime export from your route files. See Edge Runtime Deprecated.
  • This option cannot be used in Proxy.

Source: docs/01-app/03-api-reference/03-file-conventions/02-route-segment-config/runtime.mdx

Generated by smolify with deterministic-repository-import-v1 · 1 source file