1
0
mirror of https://codeberg.org/teddit/teddit synced 2025-01-09 17:12:25 +01:00

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

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);
}