We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d04c12c commit 2bdd4d5Copy full SHA for 2bdd4d5
1 file changed
packages/plugin-rsc/examples/e2e/middleware-mode.ts
@@ -28,7 +28,7 @@ async function main() {
28
const entry = await import(
29
pathToFileURL(path.resolve('dist/rsc/index.js')).href
30
)
31
- app.use(toNodeHandler(entry.default) as any)
+ app.use(toNodeHandler(entry.default.fetch) as any)
32
} else {
33
console.error(`Unknown command: ${command}`)
34
process.exitCode = 1
0 commit comments