custom-routes.js
491 Bytes
const routes = {
routes: [
{
method: "POST",
path: "/end-user/verify-gift-card-otp",
handler: "api::end-user.end-user.giftCardOtp",
config: {
// some configuration...
}
},
{
method: "POST",
path: "/end-user/reset-password",
handler: "api::end-user.end-user.resetPassword",
config: {
// some configuration...
}
},
]
};
module.exports = routes;