Space System refactor

This commit is contained in:
Zef Hemel
2022-11-26 14:15:38 +01:00
parent 80a2d4e58a
commit eff0277be0
7 changed files with 290 additions and 223 deletions
+3
View File
@@ -12,11 +12,14 @@ export function serveCommand(options: any, folder: string) {
port,
"serving pages from",
pagesPath,
"with db file",
options.db,
);
const httpServer = new HttpServer({
port: port,
pagesPath: pagesPath,
dbPath: path.join(pagesPath, options.db),
assetBundle: new AssetBundle(assetBundle as AssetJson),
password: options.password,
});