fix bug
This commit is contained in:
parent
8b3db1e2f1
commit
312964f22c
3
main.ts
3
main.ts
@ -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();
|
||||
}
|
||||
|
4
test_data/한글/SUMMARY.md
Normal file
4
test_data/한글/SUMMARY.md
Normal file
@ -0,0 +1,4 @@
|
||||
---
|
||||
title: "SUMMARY"
|
||||
tags: ["SUMMARY"]
|
||||
---
|
Loading…
Reference in New Issue
Block a user