From 0e2aa794f16cd69ba6a834d2d06c96f85318c17e Mon Sep 17 00:00:00 2001 From: Saif4u98 Date: Tue, 22 Mar 2011 11:31:44 -0700 Subject: [PATCH 1/5] Edited lib/config.js via GitHub --- lib/config.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/config.js b/lib/config.js index 2c191dd..70feb7d 100644 --- a/lib/config.js +++ b/lib/config.js @@ -1,12 +1,11 @@ - /* Streamie configuration Sample: { "hostNameAndOptionalPort": "streamie.com:8888", - "oauthKey": "asfsadgsadgsdfg", - "oauthSecret": "sdfgsdfgsdfgsdfgsdfg", + "oauthKey": "YgYzo56n6CDrVPiInT3vUA", + "oauthSecret": "zjlkO2ma0rguWy1x2OwTWxBtpMBxRTsgpXQkw012xCo", "port": "8888", "imgurKey": "sdfgsdfgsdfg", // Optional "staticFilesExpireSeconds": 0, From e2ba6d448741d13a88aace206902a30ce52d68d8 Mon Sep 17 00:00:00 2001 From: Saif4u98 Date: Tue, 22 Mar 2011 11:33:49 -0700 Subject: [PATCH 2/5] Edited lib/config.js via GitHub --- lib/config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/config.js b/lib/config.js index 70feb7d..f7078b6 100644 --- a/lib/config.js +++ b/lib/config.js @@ -4,8 +4,8 @@ Sample: { "hostNameAndOptionalPort": "streamie.com:8888", - "oauthKey": "YgYzo56n6CDrVPiInT3vUA", - "oauthSecret": "zjlkO2ma0rguWy1x2OwTWxBtpMBxRTsgpXQkw012xCo", + "oauthKey": "gggggggggvUA", + "oauthSecret": "zjlgggggggggggggggggpXQkw012xCo", "port": "8888", "imgurKey": "sdfgsdfgsdfg", // Optional "staticFilesExpireSeconds": 0, From 5f16ce5b0020a479ecc34ec211c35ecacc5925cd Mon Sep 17 00:00:00 2001 From: Saif4u98 Date: Tue, 22 Mar 2011 12:27:20 -0700 Subject: [PATCH 3/5] Edited lib/config.js via GitHub --- lib/config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/config.js b/lib/config.js index f7078b6..70feb7d 100644 --- a/lib/config.js +++ b/lib/config.js @@ -4,8 +4,8 @@ Sample: { "hostNameAndOptionalPort": "streamie.com:8888", - "oauthKey": "gggggggggvUA", - "oauthSecret": "zjlgggggggggggggggggpXQkw012xCo", + "oauthKey": "YgYzo56n6CDrVPiInT3vUA", + "oauthSecret": "zjlkO2ma0rguWy1x2OwTWxBtpMBxRTsgpXQkw012xCo", "port": "8888", "imgurKey": "sdfgsdfgsdfg", // Optional "staticFilesExpireSeconds": 0, From a56e5523b78e8ce71dd272fabfde1c92f98b083c Mon Sep 17 00:00:00 2001 From: Saif Khan Date: Tue, 22 Mar 2011 14:05:31 -0700 Subject: [PATCH 4/5] Edited lib/config.js via GitHub --- lib/config.js | 29 ++++------------------------- 1 file changed, 4 insertions(+), 25 deletions(-) diff --git a/lib/config.js b/lib/config.js index 70feb7d..e59e6db 100644 --- a/lib/config.js +++ b/lib/config.js @@ -1,30 +1,9 @@ -/* Streamie configuration - -Sample: - { "hostNameAndOptionalPort": "streamie.com:8888", "oauthKey": "YgYzo56n6CDrVPiInT3vUA", "oauthSecret": "zjlkO2ma0rguWy1x2OwTWxBtpMBxRTsgpXQkw012xCo", - "port": "8888", - "imgurKey": "sdfgsdfgsdfg", // Optional + "port": 8888, + "imgurKey": "sdfgsdfgsdfgsdfgsdfg", "staticFilesExpireSeconds": 0, - "siteStreamOAuthToken": "efasdfasdf" // Optional -} - -*/ - - - -function init() { - var filename = __dirname+"/../config.json"; - var text = require("fs").readFileSync(filename); - if(!text) { - throw new Error("Couldn't read config file "+filename); - } - var obj = JSON.parse(text); - console.log("Successfully read and parsed config file \n"+JSON.stringify(obj, null, " ")+"\n"); - return obj; -} - -exports.config = init(); \ No newline at end of file + "siteStreamOAuthToken": "asdasdfasd" +} \ No newline at end of file From e23b215cd035a90f731b5c901a6edacd4858f2c2 Mon Sep 17 00:00:00 2001 From: Saif Khan Date: Thu, 24 Mar 2011 07:05:39 -0700 Subject: [PATCH 5/5] Edited lib/config.js via GitHub --- lib/config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/config.js b/lib/config.js index e59e6db..3e52654 100644 --- a/lib/config.js +++ b/lib/config.js @@ -1,7 +1,7 @@ { "hostNameAndOptionalPort": "streamie.com:8888", - "oauthKey": "YgYzo56n6CDrVPiInT3vUA", - "oauthSecret": "zjlkO2ma0rguWy1x2OwTWxBtpMBxRTsgpXQkw012xCo", + "oauthKey": "YgY", + "oauthSecret": "zjlkO2ma0rguWy1x2OwTWxB", "port": 8888, "imgurKey": "sdfgsdfgsdfgsdfgsdfg", "staticFilesExpireSeconds": 0,