From c6d0cd3fca3cc9cacdb4c5a88797d00ae5560841 Mon Sep 17 00:00:00 2001 From: Carson Fleming Date: Thu, 19 Oct 2023 03:17:21 -0400 Subject: Dream up a style for the frontend --- index.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'index.js') diff --git a/index.js b/index.js index fa848a3..db64231 100644 --- a/index.js +++ b/index.js @@ -21,6 +21,9 @@ async function serve() { app.use(express.urlencoded({extended: true})); app.use(express.json()); + app.use('/css', express.static(__dirname+'/static/css')); + app.use('/js', express.static(__dirname+'/static/js')); + app.use('/img', express.static(__dirname+'/static/img')); app.use('/api', apiRoutes); app.use('/', routes); -- cgit v1.2.3