Merged PR 1047: added json headers
added json headers Related work items: #9877
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user