akirikovich / html-server

2 stars 1 forks source link

Page router matches on favicon.ico #3

Open vitkarpov opened 10 years ago

vitkarpov commented 10 years ago

In router app.get('/:page', ...), /:page matches on favicon.ico and server tries to get the wrong page.

vitkarpov commented 10 years ago

Seems it's common problem, I mean much things could match on this pattern. From another hand, maybe it's users responsibility.

akirikovich commented 10 years ago

Really. I'll fix this problem.