mirror of
https://github.com/the-draupnir-project/Draupnir.git
synced 2026-10-23 01:21:16 +00:00
Start client in manual launch script.
Not doing this would just cause draupnir to exit.
This commit is contained in:
1 parent
9658f39769
commit
ac4c447637
1 file changed
+2
-1
@@ -2,11 +2,12 @@
|
||||
* This file is used to launch mjolnir for manual testing, creating a user and management room automatically if it doesn't already exist.
|
||||
*/
|
||||
|
||||
import { makeMjolnir } from "./mjolnirSetupUtils";
|
||||
import { draupnirClient, makeMjolnir } from "./mjolnirSetupUtils";
|
||||
import { read as configRead } from '../../src/config';
|
||||
|
||||
(async () => {
|
||||
const config = configRead();
|
||||
let mjolnir = await makeMjolnir(config);
|
||||
await mjolnir.start();
|
||||
await draupnirClient()?.start();
|
||||
})();
|
||||
Reference in new issue
Block a user