mirror of
https://github.com/alibaba/anyproxy.git
synced 2025-05-10 14:58:27 +00:00
bugfix for issue #29
This commit is contained in:
parent
6975138c96
commit
13b0db906a
@ -1,3 +1,7 @@
|
||||
31 July: AnyProxy 3.7.2:
|
||||
|
||||
* bugfix for issue #29
|
||||
|
||||
28 July: AnyProxy 3.7.1:
|
||||
|
||||
* fix a bug about deflate compression
|
||||
|
@ -98,7 +98,7 @@ function webInterface(config){
|
||||
ipAddress : ipAddress || "127.0.0.1"
|
||||
};
|
||||
|
||||
if(req.url == "/"){
|
||||
if( url.parse(req.url).pathname == "/"){
|
||||
res.setHeader("Content-Type", "text/html");
|
||||
res.end(juicer(indexTpl, opt));
|
||||
}else{
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "anyproxy",
|
||||
"version": "3.7.1",
|
||||
"version": "3.7.2",
|
||||
"description": "A fully configurable proxy in NodeJS, which can handle HTTPS requests perfectly.",
|
||||
"main": "proxy.js",
|
||||
"bin": {
|
||||
|
@ -22,7 +22,7 @@ function init(React){
|
||||
React.createElement("div", null,
|
||||
React.createElement("h4", {className: "subTitle"}, "Log Filter"),
|
||||
React.createElement("div", {className: "filterSection"},
|
||||
React.createElement("form", {className: "uk-form"},
|
||||
React.createElement("div", {className: "uk-form"},
|
||||
React.createElement("input", {className: "uk-form-large", ref: "keywordInput", onChange: self.dealChange, type: "text", placeholder: "keywords or /^regExp$/", width: "300"})
|
||||
)
|
||||
),
|
||||
|
@ -40,8 +40,8 @@ function util_merge(left,right){
|
||||
onOpen : function(){
|
||||
eventCenter.dispatchEvent("wsOpen");
|
||||
},
|
||||
onGetUpdate : function(content){
|
||||
eventCenter.dispatchEvent("wsGetUpdate",content);
|
||||
onGetUpdate : function(record){
|
||||
eventCenter.dispatchEvent("wsGetUpdate",record);
|
||||
},
|
||||
onError : function(e){
|
||||
eventCenter.dispatchEvent("wsEnd");
|
||||
|
@ -287,7 +287,7 @@ body, html {
|
||||
margin: 50px auto 0;
|
||||
}
|
||||
|
||||
.filterSection form{
|
||||
.filterSection .uk-form{
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
@ -305,7 +305,7 @@ body, html {
|
||||
background-size: 100% 100%;
|
||||
}
|
||||
|
||||
.mapWrapper form{
|
||||
.mapWrapper .form{
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
|
@ -86,8 +86,8 @@
|
||||
onOpen : function(){
|
||||
eventCenter.dispatchEvent("wsOpen");
|
||||
},
|
||||
onGetUpdate : function(content){
|
||||
eventCenter.dispatchEvent("wsGetUpdate",content);
|
||||
onGetUpdate : function(record){
|
||||
eventCenter.dispatchEvent("wsGetUpdate",record);
|
||||
},
|
||||
onError : function(e){
|
||||
eventCenter.dispatchEvent("wsEnd");
|
||||
@ -20402,7 +20402,7 @@
|
||||
React.createElement("div", null,
|
||||
React.createElement("h4", {className: "subTitle"}, "Log Filter"),
|
||||
React.createElement("div", {className: "filterSection"},
|
||||
React.createElement("form", {className: "uk-form"},
|
||||
React.createElement("div", {className: "uk-form"},
|
||||
React.createElement("input", {className: "uk-form-large", ref: "keywordInput", onChange: self.dealChange, type: "text", placeholder: "keywords or /^regExp$/", width: "300"})
|
||||
)
|
||||
),
|
||||
|
@ -22,9 +22,9 @@ function init(React){
|
||||
<div>
|
||||
<h4 className="subTitle">Log Filter</h4>
|
||||
<div className="filterSection">
|
||||
<form className="uk-form">
|
||||
<div className="uk-form">
|
||||
<input className="uk-form-large" ref="keywordInput" onChange={self.dealChange} type="text" placeholder="keywords or /^regExp$/" width="300"/>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<p>
|
||||
<i className="uk-icon-magic"></i> type <strong>/id=\d{3}/</strong> will give you all the logs containing <strong>id=123</strong>
|
||||
|
Loading…
x
Reference in New Issue
Block a user