From 834dfa0485edc91e5b827f98a156608c17348079 Mon Sep 17 00:00:00 2001 From: tycrek Date: Fri, 2 Jul 2021 11:57:39 -0600 Subject: [PATCH] Fixed bug I didn't even realize was there --- routers/upload.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routers/upload.js b/routers/upload.js index b68c134..c210792 100644 --- a/routers/upload.js +++ b/routers/upload.js @@ -15,7 +15,7 @@ const router = express.Router(); // Index router.get('/', (_req, res, next) => - fs.readFile(path('../README.md')) + fs.readFile(path('README.md')) .then((bytes) => bytes.toString()) .then(marked) .then((d) => res.render('index', { data: d }))