app.use(staticPath, function(req, res, next){ if ('POST' != req.method){ next() }else{ req.method = 'GET' next() } }) app.use(staticPath, express.static('./static'))