HackMD/lib/config/oldEnvironment.js

11 lines
219 B
JavaScript
Raw Normal View History

'use strict'
const {toBooleanConfig} = require('./utils')
module.exports = {
debug: toBooleanConfig(process.env.DEBUG),
dburl: process.env.DATABASE_URL,
urlpath: process.env.URL_PATH,
port: process.env.PORT
}