Skip to content

Commit

Permalink
fix not found
Browse files Browse the repository at this point in the history
  • Loading branch information
gurgunday committed Feb 7, 2024
1 parent df1a5e6 commit 204ed48
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,6 @@ async function fastifyStatic (fastify, opts) {
for (let rootPath of roots) {
rootPath = rootPath.split(path.win32.sep).join(path.posix.sep)
!rootPath.endsWith('/') && (rootPath += '/')

const files = await glob('**/**', {
cwd: rootPath, absolute: false, follow: true, nodir: true, dot: opts.serveDotFiles
})
Expand Down

0 comments on commit 204ed48

Please sign in to comment.