Cleanup of unused code, moving mounts to plug

This commit is contained in:
Zef Hemel
2022-07-11 13:14:31 +02:00
parent bd462e3d42
commit 8d61812d0e
6 changed files with 1 additions and 429 deletions
-3
View File
@@ -29,7 +29,6 @@ import { esbuildSyscalls } from "@plugos/plugos/syscalls/esbuild";
import { systemSyscalls } from "./syscalls/system";
import { plugPrefix } from "@silverbulletmd/common/spaces/constants";
import { Authenticator } from "./auth";
import sandboxSyscalls from "@plugos/plugos/syscalls/sandbox";
// import globalModules from "../common/dist/global.plug.json";
@@ -265,8 +264,6 @@ export class ExpressServer {
await ensureFTSTable(this.db, "fts");
await this.ensureIndexPage();
let auth = new Authenticator(this.db);
// Serve static files (javascript, css, html)
this.app.use("/", express.static(this.distDir));