Skip to content

Commit

Permalink
Typo in environment variable
Browse files Browse the repository at this point in the history
  • Loading branch information
AlecAivazis authored and endigma committed Nov 10, 2024
1 parent fd4c43b commit 4382d12
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 4382d12

Please sign in to comment.