1
0
mirror of https://github.com/sasjs/server.git synced 2025-12-10 19:34:34 +00:00

chore: code fixes

This commit is contained in:
2022-07-26 14:16:27 +05:00
parent ce2114e3f6
commit 2ce947d216
3 changed files with 3 additions and 3 deletions

View File

@@ -337,7 +337,7 @@ const getFile = async (req: express.Request, filePath: string) => {
req.res?.setHeader('Content-type', 'text/plain')
}
req.res?.sendFile(path.resolve(filePathFull))
req.res?.sendFile(path.resolve(filePathFull), { dotfiles: 'allow' })
}
const getFolder = async (folderPath?: string) => {