mirror of
https://github.com/wassname/HackFlowy.git
synced 2026-08-12 11:40:31 +08:00
many small bug-fixes
This commit is contained in:
+4
-3
@@ -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'
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
var config = {}
|
||||
config.port = process.env.PORT || 3000;
|
||||
|
||||
module.exports = config;
|
||||
Reference in New Issue
Block a user