Skip to content

Commit 08b8670

Browse files
typooo
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 926ff16 commit 08b8670

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/routes/solid-start/building-your-application/rendering-modes.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ export default createHandler(() => (
8989
<StartServer document={...} />
9090
), {
9191
mode: (event) => {
92-
return isBot(event.request.userAgent) ? "async" : "stream";
92+
return { mode: isBot(event.request.userAgent) ? "async" : "stream" };
9393
}
9494
});
9595
```

0 commit comments

Comments
 (0)