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

Merge branch 'fix/fix_git' into 'master'

Sorry

See merge request !1
parents 211bc8c6 f7bfcab7
......@@ -4,6 +4,7 @@ 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;
......@@ -16,6 +17,7 @@ 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