I recently started working in Node.js and in the app.js file there is this line:
app.use(express.favicon());
Now, how do I set up my own cu
app.use(express.favicon(__dirname + '/public/images/favicon.ico'));
I had it working locally without the __dirname + but couldn't get it working on my deployed server.
__dirname +