custom-routes.js
648 Bytes
const routes = {
routes: [
{
method: "POST",
path: "/vendor/finish-otp-verification",
handler: "api::vendor.vendor.finishVendorOtpVerification",
config: {
//some Configuration
},
},
{
method: "POST",
path: "/jeweler/import-seed-data",
handler: "api::vendor.vendor.importSeedData",
config: {
// some configuration...
}
},
{
method: "POST",
path: "/vendor/removedirectory/delete",
handler: "api::vendor.vendor.removedirectory",
config: {
// some configuration...
}
}
],
};
module.exports = routes;