diff --git a/lib/cli/commands/account.js b/lib/cli/commands/account.js index e40a3295b..d0df3d022 100644 --- a/lib/cli/commands/account.js +++ b/lib/cli/commands/account.js @@ -434,7 +434,7 @@ exports.init = function (cli) { // by version <= 0.6.0 and if so fix-up if (cfg.port) { cfg.endpoint = url.format({ - protocol: 'http', + protocol: 'https', hostname: cfg.endpoint, port: cfg.port });