Start client in manual launch script.

Not doing this would just cause draupnir to exit.
This commit is contained in:
gnuxie committed 2024-04-06 20:03:35 +01:00
1 parent 9658f39769
commit ac4c447637
1 file changed
+2 -1
+2 -1
View File
@@ -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();
})();