Permalink
Browse files

[fix] Config must point to remote endpoint, not local

  • Loading branch information...
1 parent 2db98c0 commit 5bbbd3d12bfbd06194bf0963150cc37210e9c37b @Marak Marak committed Apr 9, 2011
Showing with 1 addition and 2 deletions.
  1. +1 −2 lib/jitsu/config.js
View
@@ -12,7 +12,7 @@ var path = require('path'),
var config = exports, settings = config.settings = {
root: process.env.HOME,
protocol: 'http',
- remoteHost: 'localhost',
+ remoteHost: 'develop.nodejitsu.com/api',
userconfig: '.jitsuconf',
loglevel: 'info',
tmproot: '/tmp',
@@ -93,7 +93,6 @@ config.load = function (callback) {
else if (err) {
return callback(err);
}
-
data = JSON.parse(data.toString());
Object.keys(data).forEach(function (key) {
config.settings[key] = data[key];

0 comments on commit 5bbbd3d

Please sign in to comment.