mirror of
https://codeberg.org/teddit/teddit.git
synced 2026-03-05 13:30:33 -05:00
fix mime type in POST import_prefs
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user