Skip to content

Commit 2bdd4d5

Browse files
committed
test: fix middleware-mode.ts
1 parent d04c12c commit 2bdd4d5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/plugin-rsc/examples/e2e/middleware-mode.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ async function main() {
2828
const entry = await import(
2929
pathToFileURL(path.resolve('dist/rsc/index.js')).href
3030
)
31-
app.use(toNodeHandler(entry.default) as any)
31+
app.use(toNodeHandler(entry.default.fetch) as any)
3232
} else {
3333
console.error(`Unknown command: ${command}`)
3434
process.exitCode = 1

0 commit comments

Comments
 (0)