Skip to content

Commit 347544c

Browse files
committed
fix: removes useless middleware
1 parent 23b9f57 commit 347544c

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/index.server.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,6 @@ const proxyMiddleware = proxy(
2121
{},
2222
);
2323

24-
app.use((ctx, next) => {
25-
return next();
26-
});
27-
2824
app.use(router.routes()).use(router.allowedMethods());
2925
app.use(ssrMiddleware);
3026
app.use(proxyMiddleware);

0 commit comments

Comments
 (0)