2017-04-12 17:57:55 +00:00
|
|
|
'use strict'
|
|
|
|
|
2017-05-08 12:41:38 +00:00
|
|
|
const {toBooleanConfig} = require('./utils')
|
|
|
|
|
2017-04-12 17:57:55 +00:00
|
|
|
module.exports = {
|
2017-05-08 12:41:38 +00:00
|
|
|
debug: toBooleanConfig(process.env.DEBUG),
|
2017-04-12 17:57:55 +00:00
|
|
|
dburl: process.env.DATABASE_URL,
|
|
|
|
urlpath: process.env.URL_PATH,
|
|
|
|
port: process.env.PORT
|
|
|
|
}
|