Skip to content

Commit

Permalink
Typo in environment variable
Browse files Browse the repository at this point in the history
  • Loading branch information
AlecAivazis committed Oct 14, 2023
1 parent 07deb9b commit f6ef67e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ async function renderToStream(element: React.ReactNode, options: Options = {}):
const disable =
globalConfig.disable || (options.disable ?? resolveSeoStrategy(options).disableStream)

const webStream = process.env.NODE_ENV === 'proudction' || (options.webStream ?? !(await nodeStreamModuleIsAvailable()))
const webStream = process.env.NODE_ENV === 'production' || (options.webStream ?? !(await nodeStreamModuleIsAvailable()))

debug(`disable === ${disable} && webStream === ${webStream}`)

Expand Down

0 comments on commit f6ef67e

Please sign in to comment.