domain option for production

This commit is contained in:
Tyler Renelle
2012-11-15 11:38:16 -05:00
parent f1912635b0
commit 16e60ae3d4
+1 -1
View File
@@ -47,7 +47,7 @@ strategies =
clientID: process.env.FACEBOOK_KEY
clientSecret: process.env.FACEBOOK_SECRET
options =
domain: "http://localhost:3000"
domain: (if process.env.NODE_ENV == 'production' then 'https://habitrpg.com' else "http://localhost:3000")
allowPurl: true
schema: require('../app/schema').newUserObject()
auth.init expressApp, store, strategies, options