mirror of
https://github.com/turt2live/matrix-dimension.git
synced 2024-10-01 01:05:53 -04:00
15 lines
447 B
TypeScript
15 lines
447 B
TypeScript
|
import { LogService } from "matrix-js-snippets";
|
||
|
import config from "./config";
|
||
|
import { DimensionStore } from "./db/DimensionStore";
|
||
|
import Webserver from "./api/Webserver";
|
||
|
|
||
|
LogService.configure(config.logging);
|
||
|
LogService.info("index", "Starting voyager...");
|
||
|
|
||
|
const webserver = new Webserver();
|
||
|
|
||
|
DimensionStore.updateSchema()
|
||
|
.then(() => webserver.start())
|
||
|
.then(() => {
|
||
|
LogService.info("index", "Dimension is ready!");
|
||
|
});
|