fix: add trailing slash to local serving

This commit is contained in:
Jacky Zhao
2023-08-13 17:47:07 -07:00
parent c7ef10773b
commit 89ef678ca6
2 changed files with 2 additions and 0 deletions

View File

@@ -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 =