File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
app/templates/server/config/environment Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -42,20 +42,20 @@ var all = {
4242 } ,
4343< % if ( filters . facebookAuth ) { % >
4444 facebook : {
45- clientID : process . env . FACEBOOK_ID ,
46- clientSecret : process . env . FACEBOOK_SECRET ,
45+ clientID : process . env . FACEBOOK_ID || 'id' ,
46+ clientSecret : process . env . FACEBOOK_SECRET || 'secret' ,
4747 callbackURL : 'http://localhost:9000/auth/facebook/callback'
4848 } ,
4949< % } % > < % if ( filters . twitterAuth ) { % >
5050 twitter : {
51- clientID : process . env . TWITTER_ID ,
52- clientSecret : process . env . TWITTER_SECRET ,
51+ clientID : process . env . TWITTER_ID || 'id' ,
52+ clientSecret : process . env . TWITTER_SECRET || 'secret' ,
5353 callbackURL : 'http://localhost:9000/auth/twitter/callback'
5454 } ,
5555< % } % > < % if ( filters . googleAuth ) { % >
5656 google : {
57- clientID : process . env . GOOGLE_ID ,
58- clientSecret : process . env . GOOGLE_SECRET ,
57+ clientID : process . env . GOOGLE_ID || 'id' ,
58+ clientSecret : process . env . GOOGLE_SECRET || 'secret' ,
5959 callbackURL : 'http://localhost:9000/auth/google/callback'
6060 } < % } % >
6161} ;
You can’t perform that action at this time.
0 commit comments