Add favicon

This commit is contained in:
Jake 2014-10-19 15:57:46 -05:00
parent 30976671de
commit e249abb1f1
2 changed files with 2 additions and 2 deletions

4
app.js
View File

@ -14,8 +14,7 @@ var app = express();
app.set('views', path.join(__dirname, 'views'));
app.set('view engine', 'jade');
// uncomment after placing your favicon in /public
//app.use(favicon(__dirname + '/public/favicon.ico'));
app.use(favicon(__dirname + '/public/favicon.ico'));
app.use(logger('dev'));
app.use(bodyParser.json());
app.use(bodyParser.urlencoded({ extended: false }));
@ -25,6 +24,7 @@ app.use(express.static(path.join(__dirname, 'public')));
app.use('/', routes);
app.use('/avatars', avatars);
// catch 404 and forward to error handler
app.use(function(req, res, next) {
var err = new Error('Not Found');

BIN
public/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB