Permalink
Browse files

Merge pull request #50 from adobe/irichter/download-count

read the http port of the webapp from config.securePort instead of config.port
  • Loading branch information...
2 parents 59f8a82 + 0bfab3d commit 5e8092509ad823fdd33b140bcc003c7e73dea655 @ingorichter ingorichter committed Feb 15, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 downloadStats/downloadStatsUpdater.js
@@ -51,7 +51,7 @@ process.env.NODE_TLS_REJECT_UNAUTHORIZED = "0";
// read the config. This file must exists. Otherwise follow these setup instructions
// https://github.com/adobe/brackets-registry to create it.
var config = JSON.parse(fs.readFileSync(path.resolve(__dirname, "../config/config.json")));
-var httpPort = config.port || 4040; // default port for registry webapp
+var httpPort = config.securePort || 4040; // default port for registry webapp
var protocol = config.insecure ? "http" : "https";
// Constants

0 comments on commit 5e80925

Please sign in to comment.