mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-12 22:26:08 -04:00
fix(config): ssl environment configs not parse properly
This commit is contained in:
parent
826ad213d6
commit
0c619fee91
3 changed files with 20 additions and 7 deletions
|
@ -1,7 +1,9 @@
|
|||
'use strict'
|
||||
|
||||
const {toBooleanConfig} = require('./utils')
|
||||
|
||||
module.exports = {
|
||||
debug: (process.env.DEBUG === 'true'),
|
||||
debug: toBooleanConfig(process.env.DEBUG),
|
||||
dburl: process.env.DATABASE_URL,
|
||||
urlpath: process.env.URL_PATH,
|
||||
port: process.env.PORT
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue