pass options to project download to allow folders beginning with a dot

This commit is contained in:
2025-10-14 19:51:15 -05:00
parent de8f9ef587
commit d43af2db57
+1 -1
View File
@@ -109,7 +109,7 @@ export async function projectDownload(req: Request, res: Response) {
return;
}
res.download(pathToFile, filename, (error) => {
res.download(pathToFile, filename, { dotfiles: 'allow' }, (error) => {
if (error) {
const message = getErrorMessage(error);
res.status(500).send({ message });