mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-18 17:25:16 -04:00
Migrate config templates to TypeScript
Signed-off-by: David Mehren <dmehren1@gmail.com>
This commit is contained in:
parent
b6ad2b2625
commit
3340780157
10 changed files with 43 additions and 59 deletions
8
lib/config/oldEnvironment.ts
Normal file
8
lib/config/oldEnvironment.ts
Normal 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
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue