From fd5c8d17d3b3cd0a13b0a21a2b78d85010e02e12 Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Tue, 20 Jun 2023 03:37:45 +0000
Subject: [PATCH] basic search implementation

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

diff --git a/quartz/build.ts b/quartz/build.ts
index 26e354c..b96bf01 100644
--- a/quartz/build.ts
+++ b/quartz/build.ts
@@ -57,9 +57,10 @@
 
   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
+        directoryListing: false,
       })
     })
     server.listen(argv.port)

--
Gitblit v1.10.0