Skip to content

Commit

Permalink
minor change
Browse files Browse the repository at this point in the history
  • Loading branch information
dharmit committed Dec 7, 2020
1 parent a1896b3 commit 5d68d95
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ app.use(require('pino-http')({logger: pino}));

app.get('/', (req, res) => {
// Use req.log (a `pino` instance) to log JSON:
req.log.info({message: 'Hello from Node.js Starter Application!'});
res.send('Hello from Node.js Starter Application!');
req.log.info({message: 'Hello from Node.js Starter Application by Dharmit!'});
res.send('Hello from Node.js Starter Application by dharmit!');
});

app.get('*', (req, res) => {
Expand Down

0 comments on commit 5d68d95

Please sign in to comment.