Remove favicon and methodOverride middlewares

`methodOverride` is supposed to provide compatibility for older
"browsers" which aren't able to send XHR requests with proper HTTP
methods. Since the only thing talking to `lamassu-server` is the ATM, we
don't need this middleware.

`favicon` middleware is exactly what it sounds like.
This commit is contained in:
Maciej Małecki 2014-04-16 10:59:15 +02:00
parent a6f899f062
commit d9682e668f

View file

@ -63,9 +63,7 @@ module.exports = function (options) {
});
app.use(express.logger());
app.use(express.favicon());
app.use(express.bodyParser());
app.use(express.methodOverride());
if (!options.https) {
server = http.createServer(app);