Skip to content

Commit

Permalink
fix(server): undefined domain env variable causing issues
Browse files Browse the repository at this point in the history
  • Loading branch information
DaftMonk committed Aug 16, 2014
1 parent 9f6bdc9 commit cb683dd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/templates/server/config/environment/index.js
Expand Up @@ -44,19 +44,19 @@ var all = {
facebook: {
clientID: process.env.FACEBOOK_ID || 'id',
clientSecret: process.env.FACEBOOK_SECRET || 'secret',
callbackURL: process.env.DOMAIN + '/auth/facebook/callback'
callbackURL: process.env.DOMAIN || '' + '/auth/facebook/callback'
},
<% } %><% if(filters.twitterAuth) { %>
twitter: {
clientID: process.env.TWITTER_ID || 'id',
clientSecret: process.env.TWITTER_SECRET || 'secret',
callbackURL: process.env.DOMAIN + '/auth/twitter/callback'
callbackURL: process.env.DOMAIN || '' + '/auth/twitter/callback'
},
<% } %><% if(filters.googleAuth) { %>
google: {
clientID: process.env.GOOGLE_ID || 'id',
clientSecret: process.env.GOOGLE_SECRET || 'secret',
callbackURL: process.env.DOMAIN + '/auth/google/callback'
callbackURL: process.env.DOMAIN || '' + '/auth/google/callback'
}<% } %>
};

Expand Down

0 comments on commit cb683dd

Please sign in to comment.