Skip to content

Commit

Permalink
Support for functional Document components (#28515)
Browse files Browse the repository at this point in the history
  • Loading branch information
devknoll committed Aug 26, 2021
1 parent d8093ec commit 2cc2cb4
Show file tree
Hide file tree
Showing 3 changed files with 206 additions and 243 deletions.
Expand Up @@ -116,6 +116,7 @@ export function getPageHandler(ctx: ServerlessHandlerCtx) {
previewProps: encodedPreviewProps,
env: process.env,
basePath,
requireStaticHTML: true, // Serverless target doesn't support streaming
..._renderOpts,
}
let _nextData = false
Expand Down

0 comments on commit 2cc2cb4

Please sign in to comment.