Skip to content

Commit

Permalink
Update app.js
Browse files Browse the repository at this point in the history
  • Loading branch information
el634dev committed Mar 27, 2024
1 parent 0099e49 commit 1b6fa87
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ app.set('views', './views');
// Show a gif image
app.get('/', (req, res) => {
// Handle the home page when we haven't queried yet
term = ""
term = "cats"
//--------
if (req.query.term) {
term = req.query.term
Expand Down Expand Up @@ -68,4 +68,4 @@ app.get('/greetings/:name', (req, res) => {
app.listen(3000, () => {
// See message in terminal
console.log('Gif Search listening on port localhost:3000!');
});
});

0 comments on commit 1b6fa87

Please sign in to comment.