Fixed bug I didn't even realize was there

pull/22/head
tycrek 3 years ago
parent 1cb4b3c3f4
commit 834dfa0485
No known key found for this signature in database
GPG Key ID: 25D74F3943625263

@ -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 }))

Loading…
Cancel
Save