We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0131191 commit a504011Copy full SHA for a504011
src/app.js
@@ -1,5 +1,5 @@
1
import express from 'express';
2
-import methodOverride from 'method-override'
+import methodOverride from 'method-override';
3
import _ from 'lodash';
4
import bodyParser from 'body-parser';
5
import config from 'config';
@@ -15,7 +15,7 @@ const app = express();
15
// allows overriding HTTP Method
16
// both arguments to the methodOverride are optional because they are the default
17
// values, but we are specifying them to avoid any future change in defaults
18
-app.use(methodOverride('X-HTTP-Method-Override', {methods : ['POST'] }))
+app.use(methodOverride('X-HTTP-Method-Override', { methods: ['POST'] }));
19
20
// =======================
21
// configuration =========
0 commit comments