Set default cdn endpoints so that local testing works

This commit is contained in:
Madeline
2022-12-21 15:37:16 +11:00
parent b96d851646
commit 30e65415e4
2 changed files with 4 additions and 1 deletions
@@ -247,7 +247,7 @@ router.post(
Attachment.create({ ...file, proxy_url: file.url }),
);
} catch (error) {
return res.status(400).json(error);
return res.status(400).json({ message: error!.toString() })
}
}