nfp_sites/api/router.mjs

15 lines
382 B
JavaScript
Raw Normal View History

2019-02-19 11:34:52 +00:00
/* eslint max-len: 0 */
import Router from 'koa-router'
// import access from './access'
// import AuthRoutes from './authentication/routes'
// import { restrict } from './access/middleware'
const router = new Router()
// API Authentication
// const authentication = new AuthRoutes()
// router.post('/api/login', authentication.login.bind(authentication))
export default router