Skip to content

Commit

Permalink
Update server.js
Browse files Browse the repository at this point in the history
  • Loading branch information
timgent committed Dec 21, 2016
1 parent 8e1ef98 commit 6632c02
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion server.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ console.log('Server running at http://localhost:' + port)

app.get('/', (req, res) => {
res.set('Content-Type', 'text/plain');
res.send(`Hello World`);
secret = process.env.MYSUPERSECRET || 'no secret set'
res.send(`Hello World ` + secret);
return res.end();
});

0 comments on commit 6632c02

Please sign in to comment.