Permalink
Browse files

Fixed import and binary

  • Loading branch information...
1 parent f076fde commit 12af82deb18a86174282da7f231dc9d1d6dfe0d0 Mark Cahill committed Sep 8, 2011
Showing with 2 additions and 2 deletions.
  1. +1 −1 server.js
  2. +1 −1 telemetry
View
@@ -14,7 +14,7 @@ for (var i = 0; i < listener_files.length; i++) {
// Load configuration and inputs
var config_loc = process.env.TELEMETRY_CONFIG || __dirname + "/config.yaml";
var config = yaml.eval(fs.readFileSync(config_loc, 'utf8')); //FIXME - this is just for testing. the real file should be in home dir
-global.telemetry = new (require(__dirname + '/telemetry'))(config);
+global.telemetry = new (require(__dirname + '/telemetry.js'))(config);
// Create the telemetry server and assign inputs
var app = express.createServer();
View
@@ -1,3 +1,3 @@
#!/usr/bin/env node
-require("./telemetry.js");
+require("./server.js");

0 comments on commit 12af82d

Please sign in to comment.