merge-requests/1/merge
parent
428898f085
commit
ceb2e54e99
|
@ -34,6 +34,7 @@ export default class Server {
|
||||||
try {
|
try {
|
||||||
// eslint-disable-next-line new-cap
|
// eslint-disable-next-line new-cap
|
||||||
const route: Route = new (require(`${__dirname}/routes/${routeFile}`).default)(this);
|
const route: Route = new (require(`${__dirname}/routes/${routeFile}`).default)(this);
|
||||||
|
this.client.signale.debug(route);
|
||||||
route.bind();
|
route.bind();
|
||||||
this.routes.set(route.conf.path, route);
|
this.routes.set(route.conf.path, route);
|
||||||
this.app.use(route.conf.path, route.router);
|
this.app.use(route.conf.path, route.router);
|
||||||
|
|
Loading…
Reference in New Issue