Skip to content

Commit a38bb9f

Browse files
Add nonce to server router (#54)
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
1 parent 792bea9 commit a38bb9f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/entry.server.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ export default async function handleRequest(...args: DocRequestArgs) {
8383

8484
const { pipe, abort } = renderToPipeableStream(
8585
<NonceProvider value={nonce}>
86-
<ServerRouter context={remixContext} url={request.url} />
86+
<ServerRouter context={remixContext} url={request.url} nonce={nonce} />
8787
</NonceProvider>,
8888
{
8989
[callbackName]: () => {

0 commit comments

Comments
 (0)