Fix nucleus API access
diff --git a/pages/api/nucleus/verify/complete.js b/pages/api/nucleus/verify/complete.js
index 0183270..d8b6a0f 100644
--- a/pages/api/nucleus/verify/complete.js
+++ b/pages/api/nucleus/verify/complete.js
@@ -11,7 +11,7 @@
return res.status(200).send({success: false})
}
try {
- await Axios.post(`http://${process.env.NUCLEUS_CALLBACK}/verify/${req.body.code}`, {
+ await Axios.post(`${process.env.NUCLEUS_CALLBACK}verify/${req.body.code}`, {
secret: process.env.VERIFY_SECRET
});
} catch (e) {
@@ -20,4 +20,4 @@
return res.status(200).send({success: true});
}
-export default Complete;
\ No newline at end of file
+export default Complete;