This commit is contained in:
monoid 2023-01-06 19:12:08 +09:00
parent 8b3db1e2f1
commit 312964f22c
2 changed files with 7 additions and 0 deletions

View File

@ -24,6 +24,7 @@ import { serve } from "http/server.ts";
import { user_command } from "./user.ts";
import { key_out_cmd } from "./keyout.ts";
import { prepareDocs } from "./src/store/doc.ts";
const github_markdown = await Deno.readTextFile(
join(fromFileUrl(import.meta.url), "..", "static", "github-markdown.css"),
@ -90,6 +91,7 @@ if (import.meta.main) {
if (debug) {
console.log("Debug mode enabled.");
}
await prepareDocs();
await start({
port: port,
hostname: hostname,
@ -100,5 +102,6 @@ if (import.meta.main) {
await cmd.parse(Deno.args);
} else {
await prepareDocs();
await start();
}

View File

@ -0,0 +1,4 @@
---
title: "SUMMARY"
tags: ["SUMMARY"]
---