From 5badcb05b0f4b27219c3f5697328c6ba42364aba Mon Sep 17 00:00:00 2001 From: succeun Date: Wed, 26 Oct 2022 14:34:18 +0900 Subject: [PATCH] fix: add 'return' statement (#8) --- src/buildRouter.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/buildRouter.ts b/src/buildRouter.ts index 0f44409..f326d92 100644 --- a/src/buildRouter.ts +++ b/src/buildRouter.ts @@ -81,7 +81,7 @@ export const buildRouter = async ( reply.type('text/html'); } if (html) { - reply.send(html); + return reply.send(html); } };