make base url configurable

This commit is contained in:
Morgante Pell 2013-01-02 00:25:58 -05:00
parent b1cbadb2d1
commit 841c789033

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.NODE_BASE || 'http://localhost:3000'
allowPurl: true
schema: require('../app/schema').newUserObject()