diff --git a/routes/main.js b/routes/main.js index c0d094d..f9c5d15 100644 --- a/routes/main.js +++ b/routes/main.js @@ -30,7 +30,6 @@ more information on this, and how to apply and follow the GNU AGPL, see { }); router.get('/guides/:guideId', (req, res) => { + const env = {}; + let data = fs.readFileSync(`./guides/${req.params.guideId}.md`, "utf8", (err, data) => { if (err) throw err; return data;