whistle 2.8.6 → 2.8.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/util.js +1 -1
- package/biz/webui/cgi-bin/util.js +1 -1
- package/biz/webui/htdocs/index.html +1 -1
- package/biz/webui/htdocs/js/index.js +34 -34
- package/biz/webui/lib/index.js +1 -1
- package/lib/config.js +2 -1
- package/lib/https/ca.js +2 -3
- package/lib/https/index.js +11 -67
- package/lib/https/load-cert.js +66 -0
- package/lib/index.js +23 -5
- package/lib/plugins/index.js +2 -4
- package/lib/plugins/load-plugin.js +15 -5
- package/lib/rules/rules.js +9 -0
- package/lib/tunnel.js +5 -1
- package/lib/util/common.js +1 -1
- package/package.json +1 -1
package/bin/util.js
CHANGED
|
@@ -76,7 +76,7 @@ function showUsage(isRunning, options, restart) {
|
|
|
76
76
|
var list = options.host ? [options.host] : getIpList();
|
|
77
77
|
info('[i] 1. use your device to visit the following URL list, gets the ' + colors.bold('IP') + ' of the URL you can access:');
|
|
78
78
|
info(list.map(function(ip) {
|
|
79
|
-
return ' http://' + colors.bold(ip) + (port ? ':' + port : '') + '/';
|
|
79
|
+
return ' http://' + colors.bold(ip) + (port && port != 80 ? ':' + port : '') + '/';
|
|
80
80
|
}).join('\n'));
|
|
81
81
|
|
|
82
82
|
warn(' Note: If all the above URLs are unable to access, check the firewall settings');
|