Saving and fetching of documents
This commit is contained in:
@ -7,6 +7,7 @@ import Sequelize from 'sequelize';
|
||||
import auth from './auth';
|
||||
import user from './user';
|
||||
import atlases from './atlases';
|
||||
import documents from './documents';
|
||||
|
||||
import validation from './validation';
|
||||
|
||||
@ -44,6 +45,7 @@ api.use(validation());
|
||||
router.use('/', auth.routes());
|
||||
router.use('/', user.routes());
|
||||
router.use('/', atlases.routes());
|
||||
router.use('/', documents.routes());
|
||||
|
||||
// Router is embedded in a Koa application wrapper, because koa-router does not
|
||||
// allow middleware to catch any routes which were not explicitly defined.
|
||||
|
Reference in New Issue
Block a user