diff --git a/code/websites/pokedex.online/server/gamemaster-api.js b/code/websites/pokedex.online/server/gamemaster-api.js index 4082e0c..0210456 100644 --- a/code/websites/pokedex.online/server/gamemaster-api.js +++ b/code/websites/pokedex.online/server/gamemaster-api.js @@ -236,10 +236,7 @@ router.get('/download/:filename', (req, res) => { return res.status(404).json({ error: 'File not found' }); } - res.setHeader( - 'Content-Disposition', - `attachment; filename="${filename}"` - ); + res.setHeader('Content-Disposition', `attachment; filename="${filename}"`); res.setHeader('Content-Type', 'application/json'); res.sendFile(filepath); });