mirror of
https://github.com/alibaba/anyproxy.git
synced 2025-05-10 14:58:27 +00:00
bugfix for web gui
This commit is contained in:
parent
f749880ec7
commit
225edd2317
@ -1,3 +1,7 @@
|
||||
19 Nov: AnyProxy 3.8.1:
|
||||
|
||||
* bugfix for image content in web GUI
|
||||
|
||||
16 Nov: AnyProxy 3.8.0:
|
||||
|
||||
* optimize the memory strategy
|
||||
|
@ -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){}
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "anyproxy",
|
||||
"version": "3.8.0",
|
||||
"version": "3.8.1",
|
||||
"description": "A fully configurable proxy in NodeJS, which can handle HTTPS requests perfectly.",
|
||||
"main": "proxy.js",
|
||||
"bin": {
|
||||
|
Loading…
x
Reference in New Issue
Block a user