diff --git a/deno.jsonc b/deno.jsonc index 6026ab1..3b7ab94 100644 --- a/deno.jsonc +++ b/deno.jsonc @@ -8,7 +8,7 @@ "watch-server": "deno run -A --unstable --check --watch silverbullet.ts", // The only reason to run a shell script is that deno task doesn't support globs yet (e.g. *.plug.yaml) "watch-plugs": "./build_plugs.sh -w", - "bundle": "deno bundle --importmap import_map.json silverbullet.ts dist/silverbullet.js", + "bundle": "deno bundle silverbullet.ts dist/silverbullet.js", // Regenerates some bundle files (checked into the repo) // Install lezer-generator with "npm install -g @lezer/generator" "generate": "deno run -A plugos/gen.ts && lezer-generator plugs/directive/query.grammar -o plugs/directive/parse-query.js" diff --git a/server/http_server.ts b/server/http_server.ts index 909ffa2..5b4e3a6 100644 --- a/server/http_server.ts +++ b/server/http_server.ts @@ -190,7 +190,7 @@ export class HttpServer { fsRouter .get("\/(.+)", async ({ params, response, request }) => { const name = params[0]; - console.log("Loading file", name); + // console.log("Loading file", name); try { const attachmentData = await spacePrimitives.readFile( name, @@ -285,7 +285,6 @@ export class HttpServer { const name = ctx.params.name; const plugName = ctx.params.plug; const args = await ctx.request.body().value; - console.log("Got args", args, "for", name, "in", plugName); const plug = system.loadedPlugs.get(plugName); if (!plug) { ctx.response.status = 404;