From 186b397bdb71741d1b4afac4811054417e028be2 Mon Sep 17 00:00:00 2001 From: EdenWuyifan Date: Wed, 27 Dec 2023 10:13:55 -0500 Subject: [PATCH 1/2] add static views --- server.js | 1 + 1 file changed, 1 insertion(+) diff --git a/server.js b/server.js index ea6b760..6c3a686 100644 --- a/server.js +++ b/server.js @@ -35,6 +35,7 @@ app.use( ); app.use(express.json()); +app.use(express.static('views')); // ------ SESSION & COOKIES & PASSPORT ------ let cookieConfig = { From d2b16edf1c334f2d29d139cfb2ce907f3be0c946 Mon Sep 17 00:00:00 2001 From: EdenWuyifan Date: Wed, 27 Dec 2023 10:25:17 -0500 Subject: [PATCH 2/2] fix lint --- server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.js b/server.js index 6c3a686..b383c91 100644 --- a/server.js +++ b/server.js @@ -35,7 +35,7 @@ app.use( ); app.use(express.json()); -app.use(express.static('views')); +app.use(express.static("views")); // ------ SESSION & COOKIES & PASSPORT ------ let cookieConfig = {