Add some kind of favicon

This commit is contained in:
Jonathan Cremin 2014-12-05 18:35:09 +00:00
parent e49a20d52c
commit 6654087b00
3 changed files with 3 additions and 2 deletions

4
app.js
View file

@ -20,8 +20,8 @@ var app = express();
app.set('views', path.join(__dirname, 'views'));
app.set('view engine', 'ejs');
// uncomment after placing your favicon in /public
//app.use(favicon(__dirname + '/public/favicon.ico'));
app.use(favicon(__dirname + '/public/images/favicon.png'));
app.use(helmet());
app.use(logger('dev'));
app.use(bodyParser.json());