Skip to content

Instantly share code, notes, and snippets.

View ffejneslen's full-sized avatar

Jeff Nelsen ffejneslen

  • Trane
View GitHub Profile
@ffejneslen
ffejneslen / changes.txt
Created October 20, 2012 23:38
IODocs changes: configuring headers and elements to build xml/json service request bodies
diff --git app.js app.js
index aa31957..b842869 100755
--- app.js
+++ app.js
@@ -70,7 +70,7 @@ db.on("error", function(err) {
// Load API Configs
//
var apisConfig;
-fs.readFile(__dirname +'/public/data/apiconfig.json', 'utf-8', function(err, data) {
+fs.readFile('public/data/apiconfig.json', 'utf-8', function(err, data) {