From 8bca045d053a4e4594d5ef63ff4fe2e52a77d6bb Mon Sep 17 00:00:00 2001 From: Dhimas Bagus Prayoga Date: Tue, 26 Jan 2021 16:02:59 +0700 Subject: [PATCH] Fix missing req --- src/utils/web.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/web.ts b/src/utils/web.ts index 4e9db2d..d14ff82 100644 --- a/src/utils/web.ts +++ b/src/utils/web.ts @@ -19,7 +19,7 @@ const web = async (client: any) => { app.use(express.static('./views')) // Root Route - app.get('/', (res: any) => { + app.get('/', (req: any, res: any) => { res.render('index.ejs') })