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:
parent
a6f899f062
commit
d9682e668f
1 changed files with 0 additions and 2 deletions
|
|
@ -63,9 +63,7 @@ module.exports = function (options) {
|
||||||
});
|
});
|
||||||
|
|
||||||
app.use(express.logger());
|
app.use(express.logger());
|
||||||
app.use(express.favicon());
|
|
||||||
app.use(express.bodyParser());
|
app.use(express.bodyParser());
|
||||||
app.use(express.methodOverride());
|
|
||||||
|
|
||||||
if (!options.https) {
|
if (!options.https) {
|
||||||
server = http.createServer(app);
|
server = http.createServer(app);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue