Skip to content

Commit 2985167

Browse files
committed
fixup! Details#header
1 parent 4823d77 commit 2985167

File tree

1 file changed

+1
-1
lines changed
  • src/content/docs/workers/frameworks/framework-guides

1 file changed

+1
-1
lines changed

src/content/docs/workers/frameworks/framework-guides/nextjs.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ You can deploy your Next.js app to Cloudflare Workers using the OpenNext adaptor
6161

6262
<PackageManagers type="run" args="preview" />
6363

64-
<Details title="What's the difference between dev and preview?">
64+
<Details header="What's the difference between dev and preview?">
6565
The command used in the previous step uses the Next.js development server, which runs in Node.js.
6666
However, your deployed application will run on Cloudflare Workers, which uses the `workerd` runtime. Therefore when running integration tests and previewing your application, you should use the preview command, which is more accurate to production, as it executes your application in the `workerd` runtime using `wrangler dev`.
6767
</Details>

0 commit comments

Comments
 (0)