added json headers

This commit is contained in:
2023-12-20 12:08:20 +00:00
parent 30ff0f294b
commit 1afb2da7de
+3 -1
View File
@@ -144,7 +144,9 @@ const authOptions = (locale, req, res) => {
"verification url API: " + url + "\n",
"============================================================\n"
);
return res.status(200).json({ url: url });
return res
.writeHead(200, { "Content-Type": "application/json" })
.json({ url: url });
},
},
EmailProvider({