mirror of
https://github.com/Unleash/unleash.git
synced 2026-10-13 16:01:52 +00:00
185091174f
Make sure we support both `AUTH_TYPE=demo` and `AUTH_TYPE=DEMO` Co-authored-by: Christopher Kolstad <chriswk@getunleash.ai>
23 lines
442 B
TypeScript
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,
|
|
},
|
|
}));
|