This commit is contained in:
@@ -9,7 +9,8 @@ import passport from '../passport';
|
|||||||
import { ErrorCodes, getErrorBody } from '../../constants/errors';
|
import { ErrorCodes, getErrorBody } from '../../constants/errors';
|
||||||
import { authenticated } from '../middleware/authenication';
|
import { authenticated } from '../middleware/authenication';
|
||||||
|
|
||||||
const routerOpts: Router.IRouterOptions = { prefix };
|
// const routerOpts: Router.IRouterOptions = { prefix };
|
||||||
|
const routerOpts: Router.IRouterOptions = {};
|
||||||
const router: Router = new Router(routerOpts);
|
const router: Router = new Router(routerOpts);
|
||||||
|
|
||||||
router.get('/info', (ctx) => {
|
router.get('/info', (ctx) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user