This commit is contained in:
daniel31x13
2024-09-04 23:02:19 -04:00
parent 43d50dfd1b
commit dfcc271343
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -206,7 +206,7 @@ export default async function Index(req: NextApiRequest, res: NextApiResponse) {
});
}
// To update the link preview
else if (req.method === "PUT" && format === ArchivedFormat.jpeg) {
else if (req.method === "PUT") {
if (process.env.NEXT_PUBLIC_DEMO === "true")
return res.status(400).json({
response: