Skip to content

Commit

Permalink
[minor] change default protocol to https
Browse files Browse the repository at this point in the history
  • Loading branch information
jfhbrook authored and AvianFlu committed Jul 13, 2012
1 parent f4533e4 commit 96416d7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/jitsu/config.js
Expand Up @@ -54,7 +54,7 @@ var defaults = {
gzipbin: 'gzip',
loglevel: 'info',
loglength: 110,
protocol: 'http',
protocol: 'https',
remoteHost: 'api.nodejitsu.com',
requiresAuth: ['apps', 'databases', 'env', 'logs', 'snapshots'],
root: process.env.HOME,
Expand Down
7 changes: 5 additions & 2 deletions lib/jitsu/package.js
Expand Up @@ -555,8 +555,11 @@ package.properties = function (dir) {
// return stable version not greater than current version, wildcard
// patch version.
//
var v = process.version.split('.');
return [v[0].substr(1), v[1] % 2 === 0 ? v[1] : v[1] - 1, 'x'].join('.');
var v = process.version.split('.'),
main = v[0].substr(1),
minor = '6',//v[1] % 2 === 0 ? v[1] : v[1] - 1,
patch = 'x';
return [main, minor, patch].join('.');
})()
}
];
Expand Down

0 comments on commit 96416d7

Please sign in to comment.