From e9f228f5d8b0384ff6108468b3418ac9fd6fd52b Mon Sep 17 00:00:00 2001 From: Dennis Eriksen Date: Fri, 12 Apr 2013 12:36:00 +0200 Subject: added favicon serving in app.js --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app.js') diff --git a/app.js b/app.js index 6bd8a81..170cd43 100644 --- a/app.js +++ b/app.js @@ -22,7 +22,7 @@ app.configure(function(){ app.set('views', __dirname + '/views'); // sets views to the right directory app.set('view engine', 'ejs'); // initiates viewengine. We use EJS, or embedded js - http://embeddedjs.com/ - app.use(express.favicon()); // sets favicon + app.use(express.favicon(__dirname + '/public/favicon.ico')); // sets favicon app.use(express.logger('dev')); app.use(express.bodyParser()); app.use(express.cookieParser()); -- cgit v1.2.3