19 lines
227 B
JavaScript
19 lines
227 B
JavaScript
|
module.exports = exports = {
|
||
|
|
||
|
prefix: '/api/v1/token',
|
||
|
|
||
|
middleware: [
|
||
|
'auth:ApiRoute',
|
||
|
],
|
||
|
|
||
|
get: {
|
||
|
'/': [
|
||
|
'controller::api:v1:Misc.get_token',
|
||
|
],
|
||
|
},
|
||
|
|
||
|
post: {
|
||
|
|
||
|
},
|
||
|
}
|