Files
unleash/src/server-dev.ts
T
Ivar Conradi Østhus 185091174f fix: convert AUTH_TYPE to uppercase (#797)
Make sure we support both `AUTH_TYPE=demo` and `AUTH_TYPE=DEMO`

Co-authored-by: Christopher Kolstad <chriswk@getunleash.ai>
2021-04-22 15:04:08 +02:00

23 lines
442 B
TypeScript

'use strict';
import unleash from './lib/server-impl';
import { createConfig } from './lib/create-config';
unleash.start(createConfig({
db: {
user: 'unleash_user',
password: 'passord',
host: 'localhost',
port: 5432,
database: 'unleash',
ssl: false,
},
server: {
enableRequestLogger: true,
},
enableOAS: true,
versionCheck: {
enable: false,
},
}));