aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/app.js
diff options
context:
space:
mode:
authorDennis Eriksen <dennis.se@gmail.com>2013-04-12 12:36:00 +0200
committerDennis Eriksen <dennis.se@gmail.com>2013-04-12 12:36:00 +0200
commite9f228f5d8b0384ff6108468b3418ac9fd6fd52b (patch)
tree5536a559833f2229af20029494a04a8c6280d5b2 /app.js
parentmore resolutions (diff)
downloadDivid-e9f228f5d8b0384ff6108468b3418ac9fd6fd52b.tar.gz
added favicon serving in app.js
Diffstat (limited to 'app.js')
-rw-r--r--app.js2
1 files changed, 1 insertions, 1 deletions
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());