ruzicic/getheadlines

Favicon.ico 401 Unauthorized

incrosnatubogdan opened this issue · 1 comments

Whenever I run the project I get favicon.ico:1 GET http://localhost:3028/favicon.ico 401 (Unauthorized)
I added this to index.js, but still get a 401

v1.get('/favicon.ico', function(reg,res){ res.sendStatus(200); });

What exactly is causing this?

I didn't add a favicon to HTML pages.

You can solve it by adding blank <link rel="shortcut icon" href=""> to all html's, or by using Koa's favicon middleware.

I will fix this once I add getHeadlines logo to the project, and close this issue.