Migrate config templates to TypeScript

Signed-off-by: David Mehren <dmehren1@gmail.com>
This commit is contained in:
David Mehren 2020-04-12 14:23:17 +02:00
parent b6ad2b2625
commit 3340780157
No known key found for this signature in database
GPG key ID: 6017AF117F9756CB
10 changed files with 43 additions and 59 deletions

View file

@ -0,0 +1,8 @@
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
}