From 751901e76e77b41293e45622c409c9b3457b4de3 Mon Sep 17 00:00:00 2001 From: Josh Moore Date: Thu, 6 Jul 2023 22:29:59 -0600 Subject: [PATCH] feat: set new views directory --- src2/app.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src2/app.ts b/src2/app.ts index 65eab46..1024b2f 100644 --- a/src2/app.ts +++ b/src2/app.ts @@ -55,6 +55,7 @@ async function main() { app.set('trust proxy', serverConfig.proxied); app.set('view engine', 'pug'); + app.set('views', 'views2/'); // Middleware app.use(log.express());