diff options
author | Dennis Eriksen <dennis.se@gmail.com> | 2013-04-12 12:36:00 +0200 |
---|---|---|
committer | Dennis Eriksen <dennis.se@gmail.com> | 2013-04-12 12:36:00 +0200 |
commit | e9f228f5d8b0384ff6108468b3418ac9fd6fd52b (patch) | |
tree | 5536a559833f2229af20029494a04a8c6280d5b2 /app.js | |
parent | more resolutions (diff) | |
download | Divid-e9f228f5d8b0384ff6108468b3418ac9fd6fd52b.tar.gz |
added favicon serving in app.js
Diffstat (limited to 'app.js')
-rw-r--r-- | app.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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()); |