Doc fixes

This commit is contained in:
Zef Hemel
2022-10-10 15:09:56 +02:00
parent eb1530429e
commit 95b6076229
4 changed files with 38 additions and 24 deletions
+2 -3
View File
@@ -1,4 +1,3 @@
#!/usr/bin/env -S node --enable-source-maps
import * as flags from "https://deno.land/std@0.158.0/flags/mod.ts";
import * as path from "https://deno.land/std@0.158.0/path/mod.ts";
import { HttpServer } from "./http_server.ts";
@@ -26,12 +25,12 @@ import { AssetBundle } from "../plugos/asset_bundle_reader.ts";
console.log("Pages dir", pagesPath);
const expressServer = new HttpServer({
const httpServer = new HttpServer({
port: port,
pagesPath: pagesPath,
assetBundle: assetBundle as AssetBundle,
password: args.password,
});
expressServer.start().catch((e) => {
httpServer.start().catch((e) => {
console.error(e);
});