some code formatting works

This commit is contained in:
OttoMao 2015-04-28 20:27:01 +08:00
parent 20dc7a7b41
commit 0e700a2ff8
2 changed files with 1 additions and 3 deletions

View File

@ -9,7 +9,6 @@ var express = require("express"),
certMgr = require("./certMgr"), certMgr = require("./certMgr"),
logUtil = require("./log"); logUtil = require("./log");
function webInterface(config){ function webInterface(config){
var port = config.port, var port = config.port,
wsPort = config.wsPort, wsPort = config.wsPort,
@ -21,7 +20,6 @@ function webInterface(config){
crtFilePath = certMgr.getRootCAFilePath(), crtFilePath = certMgr.getRootCAFilePath(),
staticDir = path.join(__dirname,'../web'); staticDir = path.join(__dirname,'../web');
var app = express(); var app = express();
app.use(function(req, res, next) { app.use(function(req, res, next) {
res.setHeader("note", "THIS IS A REQUEST FROM ANYPROXY WEB INTERFACE"); res.setHeader("note", "THIS IS A REQUEST FROM ANYPROXY WEB INTERFACE");

View File

@ -1,6 +1,6 @@
{ {
"name": "anyproxy", "name": "anyproxy",
"version": "3.4.0", "version": "3.4.0-Beta",
"description": "A fully configurable proxy in NodeJS, which can handle HTTPS requests perfectly.", "description": "A fully configurable proxy in NodeJS, which can handle HTTPS requests perfectly.",
"main": "proxy.js", "main": "proxy.js",
"bin": { "bin": {