mirror of
https://github.com/alibaba/anyproxy.git
synced 2025-07-29 00:59:10 +00:00
bugfix for web gui
This commit is contained in:
@@ -152,11 +152,13 @@ function Recorder(option){
|
||||
}
|
||||
result.type = "text";
|
||||
result.content = bodyContent.toString();
|
||||
}else if(imageMatch){
|
||||
}else if(imageMatch && /image/i.test(imageMatch)){
|
||||
|
||||
result.type = "image";
|
||||
result.mime = imageMatch;
|
||||
result.content = bodyContent;
|
||||
}else{
|
||||
result.content = bodyContent.toString();
|
||||
}
|
||||
}catch(e){}
|
||||
|
||||
|
Reference in New Issue
Block a user