Skip to content

Commit

Permalink
Remove rogue console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
thesephist committed Jun 1, 2019
1 parent e73d2e5 commit 1148e1d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ const tpl = params => {
}

app.get('/', (req, res) => {
console.log(req.header('User-Agent'));
if (req.header('User-Agent').includes('curl/')) {
res.set('Content-Type', 'text/plain');
res.send(`Linus Lee
Expand Down

0 comments on commit 1148e1d

Please sign in to comment.