mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-07 08:23:55 +00:00
pass options to project download to allow folders beginning with a dot
This commit is contained in:
@@ -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 });
|
||||
|
||||
Reference in New Issue
Block a user