Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
climba03003 committed Jul 12, 2024
1 parent 34222a3 commit 56ce806
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,7 @@ async function fastifyStatic (fastify, opts) {
} = await send(request.raw, encodeURI(pathnameForSend), options)
switch (type) {
case 'directory': {
const path = metadata.path
if (opts.list) {
await dirList.send({
reply,
Expand Down

0 comments on commit 56ce806

Please sign in to comment.