fix: wait for sideload locales before server start (#1248)

This commit is contained in:
NGPixel 2020-07-04 17:01:35 -04:00
parent c7631b30d7
commit 5282a82afe

View File

@ -32,10 +32,10 @@ module.exports = {
async preBootMaster() {
try {
await this.initTelemetry()
WIKI.sideloader = await require('./sideloader').init()
WIKI.cache = require('./cache').init()
WIKI.scheduler = require('./scheduler').init()
WIKI.servers = require('./servers')
WIKI.sideloader = require('./sideloader').init()
WIKI.events = {
inbound: new EventEmitter(),
outbound: new EventEmitter()