mirror of
https://github.com/zhigang1992/deployd.git
synced 2026-05-13 04:00:35 +08:00
variable scope fixed
This commit is contained in:
@@ -26,7 +26,7 @@ exports.setup = function(req, res, next) {
|
||||
if(~req.url.indexOf('?')) {
|
||||
try {
|
||||
req.query = parseQuery(req.url);
|
||||
m = req.query['_method'];
|
||||
var m = req.query['_method'];
|
||||
if ( m ) {
|
||||
req.method = m.toUpperCase();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user