From 5e765cc96b89862dd8091112b79c246ef6c0264e Mon Sep 17 00:00:00 2001 From: Akshay Date: Thu, 29 Aug 2024 22:31:12 +0100 Subject: bundle styles correctly --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/index.js') diff --git a/src/index.js b/src/index.js index bfe31f4..a1b9967 100644 --- a/src/index.js +++ b/src/index.js @@ -8,7 +8,7 @@ const app = express(); app.set('views', path.join(__dirname, 'views')); app.set('view engine', 'pug'); -app.use(express.static('public')); +app.use(express.static(path.join(__dirname, 'public'))); app.use('/', routes); const server = app.listen(3000, () => { -- cgit v1.2.3