From 0e700a2ff84d15bb5a723763700f3197a2871211 Mon Sep 17 00:00:00 2001 From: OttoMao Date: Tue, 28 Apr 2015 20:27:01 +0800 Subject: [PATCH] some code formatting works --- lib/webInterface.js | 2 -- package.json | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/webInterface.js b/lib/webInterface.js index ed603de..26cac9b 100644 --- a/lib/webInterface.js +++ b/lib/webInterface.js @@ -9,7 +9,6 @@ var express = require("express"), certMgr = require("./certMgr"), logUtil = require("./log"); - function webInterface(config){ var port = config.port, wsPort = config.wsPort, @@ -21,7 +20,6 @@ function webInterface(config){ crtFilePath = certMgr.getRootCAFilePath(), staticDir = path.join(__dirname,'../web'); - var app = express(); app.use(function(req, res, next) { res.setHeader("note", "THIS IS A REQUEST FROM ANYPROXY WEB INTERFACE"); diff --git a/package.json b/package.json index a295d07..38aab5a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "anyproxy", - "version": "3.4.0", + "version": "3.4.0-Beta", "description": "A fully configurable proxy in NodeJS, which can handle HTTPS requests perfectly.", "main": "proxy.js", "bin": {