Merge pull request #34 from morgante/master

Configurable base URL
This commit is contained in:
Tyler Renelle 2013-01-03 06:47:10 -08:00
commit 9367fcb804

View file

@ -47,7 +47,7 @@ strategies =
clientID: process.env.FACEBOOK_KEY
clientSecret: process.env.FACEBOOK_SECRET
options =
domain: (if process.env.NODE_ENV == 'production' then 'https://habitrpg.com' else "http://localhost:3000")
domain: process.env.BASE_URL || 'http://localhost:3000'
allowPurl: true
schema: require('../app/schema').userSchema()