Commit ccaf091a authored by Разиев Абдрашид's avatar Разиев Абдрашид 💬

Revert "Sorry"

This reverts commit f7bfcab7
parent a89bea9a
......@@ -4,7 +4,6 @@ import { AppInit } from './interfaces/AppInit.interface';
import { IRoute } from './interfaces/IRoute.interface';
import {errorHandler} from "@/middlewares/errorHandler";
console.log(1)
class App {
public app: Application;
public port: number;
......@@ -17,7 +16,6 @@ class App {
this.initRoutes(appInit.controllers);
this.initErrorHandler()
}
private initMiddlewares(middlewares: RequestHandler[]) {
middlewares.forEach((middleware) => {
this.app.use(middleware);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment