modern toc tweaks

This commit is contained in:
Jacky Zhao
2023-06-16 19:41:59 -07:00
parent 9d2024b11c
commit 917d5791ac
17 changed files with 318 additions and 58 deletions

View File

@ -57,6 +57,7 @@ export default async function buildQuartz(argv: Argv, version: string) {
if (argv.serve) {
const server = http.createServer(async (req, res) => {
console.log(chalk.grey(`[req] ${req.url}`))
return serveHandler(req, res, {
public: output,
directoryListing: false,