From f0ea916c1b57075fb734e8e0f115bf518525fedf Mon Sep 17 00:00:00 2001 From: moepoi Date: Mon, 15 Nov 2021 16:55:33 +0700 Subject: [PATCH] Register products page to route --- routes/index.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/routes/index.js b/routes/index.js index e8bb9a8..1c2f64d 100644 --- a/routes/index.js +++ b/routes/index.js @@ -17,6 +17,10 @@ router.get('/otp', (_req, res) => { res.render('pages/otp'); }) +router.get('/products', (_req, res) => { + res.render('pages/products') +}) + router.get('/product', (_req, res) => { res.render('pages/product') })