19 lines
234 B
JavaScript
19 lines
234 B
JavaScript
|
const index = {
|
||
|
|
||
|
prefix: '/api/v1/session',
|
||
|
|
||
|
middleware: [
|
||
|
'auth:UserOnly',
|
||
|
],
|
||
|
|
||
|
get: {
|
||
|
'/': [ 'controller::api:v1:Session.get_session' ],
|
||
|
},
|
||
|
|
||
|
post: {
|
||
|
|
||
|
},
|
||
|
}
|
||
|
|
||
|
module.exports = exports = index
|