Skip to content

Commit

Permalink
Update app.js
Browse files Browse the repository at this point in the history
  • Loading branch information
tf7software authored Sep 29, 2024
1 parent 14c13e0 commit 72c90b7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'));
});
Expand Down Expand Up @@ -248,4 +252,4 @@ app.get('/articles/:article', async (req, res) => {

app.listen(PORT, () => {
console.log(`Server is running on port ${PORT}`);
});
});

0 comments on commit 72c90b7

Please sign in to comment.