From 232652149a287054df7e7c5136dafd3f55a79bf0 Mon Sep 17 00:00:00 2001
From: Sohaib <98542228+sohaibology@users.noreply.github.com>
Date: Tue, 15 Aug 2023 00:59:47 +0000
Subject: [PATCH] Update hosting.md (#371)

---
 quartz/bootstrap-cli.mjs |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/quartz/bootstrap-cli.mjs b/quartz/bootstrap-cli.mjs
index 71d6957..0730f90 100755
--- a/quartz/bootstrap-cli.mjs
+++ b/quartz/bootstrap-cli.mjs
@@ -84,6 +84,10 @@
     default: false,
     describe: "show detailed bundle information",
   },
+  concurrency: {
+    number: true,
+    describe: "how many threads to use to parse notes",
+  },
 }
 
 function escapePath(fp) {
@@ -125,7 +129,7 @@
 }
 
 function gitPull(origin, branch) {
-  const flags = ["-s", "recursive", "-X", "ours", "--no-edit"]
+  const flags = ["--no-rebase", "--autostash", "-s", "recursive", "-X", "ours", "--no-edit"]
   spawnSync("git", ["pull", ...flags, origin, branch], { stdio: "inherit" })
 }
 
@@ -383,6 +387,7 @@
         await serveHandler(req, res, {
           public: argv.output,
           directoryListing: false,
+          trailingSlash: true,
         })
         const status = res.statusCode
         const statusString =

--
Gitblit v1.10.0