diff --git a/packages/hydrooj/package.json b/packages/hydrooj/package.json index 322b0f52b..2f979cf09 100644 --- a/packages/hydrooj/package.json +++ b/packages/hydrooj/package.json @@ -1,6 +1,6 @@ { "name": "hydrooj", - "version": "2.12.21", + "version": "2.12.22", "bin": "bin/hydrooj.js", "main": "dist/loader.js", "typings": "dist/loader.d.ts", diff --git a/packages/hydrooj/src/entry/master.ts b/packages/hydrooj/src/entry/master.ts index 72255459a..3a73af1ca 100644 --- a/packages/hydrooj/src/entry/master.ts +++ b/packages/hydrooj/src/entry/master.ts @@ -37,7 +37,7 @@ export async function load(call: Entry) { require('../lib/i18n'); require('../utils'); require('../error'); - const config = require('../options').default(); + const config = require('../options')(); if (!config) { console.log('Starting setup'); await call({ entry: 'setup', newProcess: true }).catch((err) => {