fix api route
parent
cb10d1ab00
commit
3bc0cb8628
|
@ -16866,4 +16866,4 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,10 +1,16 @@
|
|||
module.exports = [
|
||||
{
|
||||
method: "GET",
|
||||
path: "/get-types",
|
||||
handler: "explorerController.getTypes",
|
||||
config: {
|
||||
policies: [],
|
||||
},
|
||||
module.exports = {
|
||||
"pass-data": {
|
||||
type: "admin",
|
||||
routes: [
|
||||
{
|
||||
method: "GET",
|
||||
path: "/get-types",
|
||||
handler: "explorerController.getTypes",
|
||||
config: {
|
||||
policies: [],
|
||||
// auth: false,
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
];
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue