update flat-style ui

This commit is contained in:
加里
2014-12-08 17:13:41 +08:00
8 changed files with 75 additions and 18 deletions

View File

@@ -8,6 +8,7 @@ var exec = require('child_process').exec,
util = require('./util'),
asyncTask = require("async-task-mgr");
//TODO : unstable in windows
var certDir = path.join(util.getUserHome(),"/.anyproxy_certs/"),
cmdDir = path.join(__dirname,"..","./cert/"),
cmd_genRoot = path.join(cmdDir,"./gen-rootCA"),

View File

@@ -115,7 +115,7 @@ function normalizeInfo(id,info){
singleRecord.reqHeader = info.req.headers;
singleRecord.startTime = info.startTime;
singleRecord.reqBody = info.reqBody || "";
singleRecord.protocol = info.protocol;
singleRecord.protocol = info.protocol || "";
//res
if(info.endTime){

View File

@@ -4,7 +4,7 @@ module.exports = {
summary:function(){
var tip = "the default rule for anyproxy, support : CORS. ";
if(isRootCAFileExists){
tip += "\nRoot CA exists, will intercept all https requests for you";
tip += "\nRoot CA exists, will intercept all https requests.";
}
return tip;
},