From 7bde99b4e2d49e30dad1e0d58ccc34c2e7482005 Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Mon, 14 Aug 2023 00:47:18 +0000
Subject: [PATCH] fix: add trailing slash to local serving

---
 quartz/processors/parse.ts |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/quartz/processors/parse.ts b/quartz/processors/parse.ts
index 299d59a..0015527 100644
--- a/quartz/processors/parse.ts
+++ b/quartz/processors/parse.ts
@@ -112,7 +112,8 @@
   }
 }
 
-const clamp = (num: number, min: number, max: number) => Math.min(Math.max(Math.round(num), min), max);
+const clamp = (num: number, min: number, max: number) =>
+  Math.min(Math.max(Math.round(num), min), max)
 export async function parseMarkdown(ctx: BuildCtx, fps: FilePath[]): Promise<ProcessedContent[]> {
   const { argv } = ctx
   const perf = new PerfTimer()

--
Gitblit v1.10.0