From fa4ddca2ee7497accbd7d38da2ad431682780f32 Mon Sep 17 00:00:00 2001 From: OttoMao Date: Tue, 24 Feb 2015 15:57:27 +0800 Subject: [PATCH] add comment for web socket port --- proxy.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/proxy.js b/proxy.js index 86a88c1..34b1bb0 100644 --- a/proxy.js +++ b/proxy.js @@ -28,8 +28,8 @@ var http = require('http'), var T_TYPE_HTTP = 0, T_TYPE_HTTPS = 1, DEFAULT_PORT = 8001, - DEFAULT_WEB_PORT = 8002, - DEFAULT_WEBSOCKET_PORT = 8003, + DEFAULT_WEB_PORT = 8002, // port for web interface + DEFAULT_WEBSOCKET_PORT = 8003, // internal web socket for web interface, not for end users DEFAULT_CONFIG_PORT = 8088, DEFAULT_HOST = "localhost", DEFAULT_TYPE = T_TYPE_HTTP;