mirror of
https://github.com/alibaba/anyproxy.git
synced 2025-08-04 21:39:04 +00:00
optimze map icon
This commit is contained in:
@@ -44,7 +44,15 @@ function userRequestHandler(req,userRes){
|
||||
logUtil.printLog(color.green("\nreceived request to : " + host + path));
|
||||
|
||||
//get request body and route to local or remote
|
||||
async.series([fetchReqData,routeReq],function(){});
|
||||
async.series([
|
||||
fetchReqData,
|
||||
routeReq
|
||||
],function(){
|
||||
//mark some ext info
|
||||
if(req.anyproxy_map_local){
|
||||
GLOBAL.recorder.updateExtInfo(resourceInfoId, {map : req.anyproxy_map_local});
|
||||
}
|
||||
});
|
||||
|
||||
//get request body
|
||||
function fetchReqData(callback){
|
||||
@@ -408,5 +416,5 @@ module.exports.getRuleSummary = getRuleSummary;
|
||||
note
|
||||
req.url is wired
|
||||
in http server : http://www.example.com/a/b/c
|
||||
in https server : /work/alibaba
|
||||
in https server : /a/b/c
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user