many small bug-fixes

This commit is contained in:
Curtis SerVaas
2014-08-07 20:34:24 -04:00
parent bd8b510a73
commit 9d84461422
8 changed files with 26 additions and 24 deletions
+4 -3
View File
@@ -1,8 +1,9 @@
var port = require('./config.js').port;
module.exports = {
'googleAuth' : {
'clientID' : 'your-secret-clientID-here',
'clientSecret' : 'your-client-secret-here',
'callbackURL' : 'http://localhost:3000/auth/google/callback'
'clientID' : 'yours-here',
'clientSecret' : 'yours-here',
'callbackURL' : 'http://localhost:' + port + '/auth/google/callback'
}
};
+4
View File
@@ -0,0 +1,4 @@
var config = {}
config.port = process.env.PORT || 3000;
module.exports = config;