Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- app.get('/:data', function (req, res) {
- console.log(req.params);
- res.send("wtf is going on?!")
- });
- //on every page refresh console.log returns twice:
- //the :data and favicon.ico
- //causes trouble
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement