We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a39d3ab commit eebdb70Copy full SHA for eebdb70
.eslintrc
100644
100755
@@ -32,6 +32,9 @@
32
// Disable no-tabs
33
"no-tabs": 0,
34
// allow mixed operators '&&' and '||'
35
- "no-mixed-operators": 0
+ "no-mixed-operators": 0,
36
+ // node deprecated api
37
+ "node/no-deprecated-api": 0
38
+
39
}
40
lib/server_middleware/api.js
@@ -126,7 +126,7 @@ function injectAPI(options) {
126
req.res = res;
127
res.req = req;
128
129
- req.query = req.query || url.URL(req.url, true).query || {};
+ req.query = req.query || url.parse(req.url, true).query || {};
130
131
next();
132
});
0 commit comments