Skip to content

Commit

Permalink
fix: add trailing slash to local serving
Browse files Browse the repository at this point in the history
  • Loading branch information
jackyzha0 committed Aug 14, 2023
1 parent f1c9ca4 commit 7bde99b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions quartz/bootstrap-cli.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -387,6 +387,7 @@ See the [documentation](https://quartz.jzhao.xyz) for how to get started.
await serveHandler(req, res, {
public: argv.output,
directoryListing: false,
trailingSlash: true,
})
const status = res.statusCode
const statusString =
Expand Down
1 change: 1 addition & 0 deletions quartz/path.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { slug } from "github-slugger"
// this file must be isomorphic so it can't use node libs (e.g. path)

// Quartz Paths
// Things in boxes are not actual types but rather sources which these types can be acquired from
Expand Down

0 comments on commit 7bde99b

Please sign in to comment.