From 72c90b789e7c598c8523050cd274328755fb8231 Mon Sep 17 00:00:00 2001 From: tf7software <160179762+tf7software@users.noreply.github.com> Date: Sat, 28 Sep 2024 20:01:33 -0700 Subject: [PATCH] Update app.js --- app.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 +});