Loading src/routes/index.ts +2 −0 Original line number Diff line number Diff line Loading @@ -5,6 +5,7 @@ import https from "node:https"; import * as Sentry from "@sentry/node"; import { MatrixRoutes } from "./matrix"; import { MediaRoutes } from "./media"; import { AdminRoutes } from "./admin"; export class WebServer { app: express.Express; Loading @@ -25,6 +26,7 @@ export class WebServer { this.app.use(new MatrixRoutes().router); this.app.use(new MediaRoutes().router); this.app.use(new AdminRoutes().router); Sentry.setupExpressErrorHandler(this.app); } Loading Loading
src/routes/index.ts +2 −0 Original line number Diff line number Diff line Loading @@ -5,6 +5,7 @@ import https from "node:https"; import * as Sentry from "@sentry/node"; import { MatrixRoutes } from "./matrix"; import { MediaRoutes } from "./media"; import { AdminRoutes } from "./admin"; export class WebServer { app: express.Express; Loading @@ -25,6 +26,7 @@ export class WebServer { this.app.use(new MatrixRoutes().router); this.app.use(new MediaRoutes().router); this.app.use(new AdminRoutes().router); Sentry.setupExpressErrorHandler(this.app); } Loading