[Groonga-commit] droonga/express-droonga at ebff1f0 [master] Remove favicon middleware because we don't use it

Back to archive index

Kouhei Sutou null+****@clear*****
Sun May 4 19:03:54 JST 2014


Kouhei Sutou	2014-05-04 19:03:54 +0900 (Sun, 04 May 2014)

  New Revision: ebff1f0b22c17c4951f5e9be5b3ffefe58bdcafa
  https://github.com/droonga/express-droonga/commit/ebff1f0b22c17c4951f5e9be5b3ffefe58bdcafa

  Message:
    Remove favicon middleware because we don't use it

  Modified files:
    lib/ui/dashboard.js
    package.json

  Modified: lib/ui/dashboard.js (+0 -2)
===================================================================
--- lib/ui/dashboard.js    2014-04-30 18:37:50 +0900 (78d25d4)
+++ lib/ui/dashboard.js    2014-05-04 19:03:54 +0900 (b9450d5)
@@ -1,5 +1,4 @@
 var express = require('express');
-var favicon = require('static-favicon');
 var bodyParser = require('body-parser');
 var methodOverride = require('method-override');
 var serveStatic = require('serve-static');
@@ -17,7 +16,6 @@ exports.register = function(application, params) {
 
   application.set('views', path.join(topDirectory, 'views'));
   application.set('view engine', 'jade');
-  application.use(prefix, favicon());
   application.use(prefix, bodyParser());
   application.use(prefix, methodOverride());
   application.use(prefix, less(path.join(topDirectory, 'public')));

  Modified: package.json (+1 -2)
===================================================================
--- package.json    2014-04-30 18:37:50 +0900 (f357856)
+++ package.json    2014-05-04 19:03:54 +0900 (910108b)
@@ -31,8 +31,7 @@
     "method-override": "*",
     "msgpack": "*",
     "serve-static": "*",
-    "socket.io": "*",
-    "static-favicon": "*"
+    "socket.io": "*"
   },
   "devDependencies": {
     "express": ">=4.0",
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index