diff --git a/app.js b/app.js index e0efd36..fa3b6cf 100644 --- a/app.js +++ b/app.js @@ -30,6 +30,10 @@ app.get('/pacman', (req, res) => { res.sendFile(path.join(__dirname, 'views/pacman.html')); }); +app.get('/about', (req, res) => { + res.sendFile(path.join(__dirname, 'public/about.html')); +}); + app.get('/view', (req, res) => { res.sendFile(path.join(__dirname, 'views/view.html')); }); @@ -248,4 +252,4 @@ app.get('/articles/:article', async (req, res) => { app.listen(PORT, () => { console.log(`Server is running on port ${PORT}`); -}); \ No newline at end of file +});