hedgedoc/lib/config/oldEnvironment.ts
David Mehren 3340780157
Migrate config templates to TypeScript
Signed-off-by: David Mehren <dmehren1@gmail.com>
2020-04-25 16:04:05 +02:00

8 lines
215 B
TypeScript

import { toBooleanConfig } from './utils'
export const oldEnvironment = {
debug: toBooleanConfig(process.env.DEBUG),
dburl: process.env.DATABASE_URL,
urlpath: process.env.URL_PATH,
port: process.env.PORT
}