Migration script in prevision of the future settings "chat-type".
This commit is contained in:
@ -1,3 +1,4 @@
|
||||
import { migrateSettings } from './lib/migration/settings'
|
||||
import { initSettings } from './lib/settings'
|
||||
import { initRouters } from './lib/routers/index'
|
||||
import { ensureProsodyRunning, ensureProsodyNotRunning } from './lib/prosody/ctl'
|
||||
@ -10,6 +11,8 @@ let OPTIONS: RegisterServerOptions | undefined
|
||||
async function register (options: RegisterServerOptions): Promise<any> {
|
||||
OPTIONS = options
|
||||
|
||||
await migrateSettings(options)
|
||||
|
||||
await initSettings(options)
|
||||
await initRouters(options)
|
||||
|
||||
|
Reference in New Issue
Block a user