bug fix on verify
diff --git a/pages/api/nucleus/verify/complete.js b/pages/api/nucleus/verify/complete.js
index 39bd55c..cdffc2e 100644
--- a/pages/api/nucleus/verify/complete.js
+++ b/pages/api/nucleus/verify/complete.js
@@ -10,10 +10,9 @@
if ( !chk.data.success ) {
return res.status(200).send({success: false})
}
- let secret = process.env.VERIFY_SECRET
try {
- await Axios.post(`http://192.168.0.18:10000/verify/${req.body.code}`, {
- secret: secret
+ await Axios.post(`${process.env.VERIFY_CALLBACK}/verify/${req.body.code}`, {
+ secret: process.env.VERIFY_SECRET
});
} catch (e) {
return res.status(200).send({success: false})