Skip to content

Commit

Permalink
fix forbidden
Browse files Browse the repository at this point in the history
  • Loading branch information
ngoerlitz committed Apr 11, 2024
1 parent 635dc92 commit 4a690c8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions backend/src/Application.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import { Config } from "./core/Config";
import cors from "cors";
import Logger, { LogLevels } from "./utility/Logger";
import cookieParser from "cookie-parser";
import bodyParser from "body-parser";
import { syslogMiddleware } from "./middlewares/SyslogMiddleware";
import { router, routerGroup } from "./Router";
import { exceptionInterceptorMiddleware } from "./middlewares/ExceptionInterceptorMiddleware";
Expand Down Expand Up @@ -41,7 +40,7 @@ initializeApplication()
}).array("files"));

application.use(syslogMiddleware);
application.use("/", router);
application.use(router);
application.use(exceptionInterceptorMiddleware);
}));

Expand Down

0 comments on commit 4a690c8

Please sign in to comment.