Skip to content

Commit c2e5e34

Browse files
committed
fix: return when use cache
1 parent e5150af commit c2e5e34

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/server/ssrMiddleware.ts

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ const ssrMiddleware: Middleware = async (ctx, next) => {
2121
if (exists !== null) {
2222
ctx.body = exists;
2323
ctx.status = 200;
24+
return;
2425
}
2526
}
2627

0 commit comments

Comments
 (0)