fix mime type in POST import_prefs

This commit is contained in:
teddit 2022-01-29 14:49:47 +01:00
parent d947182058
commit d315051a7b
1 changed files with 1 additions and 1 deletions

View File

@ -173,7 +173,7 @@ preferenceRoutes.post('/export_prefs', (req, res, next) => {
'Content-disposition',
'attachment; filename=teddit_prefs.json'
);
res.setHeader('Content-type', 'preferenceRouteslication/json');
res.setHeader('Content-type', 'application/json');
return res.send(export_data);
}