This commit is contained in:
AJ ONeal 2016-10-06 22:43:36 -06:00
commit bba1605ba3
1 changed files with 3 additions and 2 deletions

View File

@ -1,7 +1,8 @@
#!/usr/bin/env node #!/usr/bin/env node
'use strict'; 'use strict';
var PromiseA = global.Promise; // require('bluebird'); //var PromiseA = global.Promise;
var PromiseA = require('bluebird');
var https = require('httpolyglot'); var https = require('httpolyglot');
var http = require('http'); var http = require('http');
var fs = require('fs'); var fs = require('fs');
@ -399,7 +400,7 @@ function run() {
if (iface.ipv6.length) { if (iface.ipv6.length) {
httpsUrl = 'https://[' + iface.ipv6[0].address + ']'; httpsUrl = 'https://[' + iface.ipv6[0].address + ']';
if (443 !== opts.port) { if (httpsPort !== opts.port) {
httpsUrl += ':' + opts.port; httpsUrl += ':' + opts.port;
} }
console.info('\t' + httpsUrl); console.info('\t' + httpsUrl);