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:
parent
d947182058
commit
d315051a7b
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user