Pass mergeParams: true to new router calls due to express behavior change

This commit is contained in:
Rory&
2025-09-30 07:14:10 +02:00
parent 0fb9e94788
commit d647f882b1
179 changed files with 179 additions and 179 deletions
+1 -1
View File
@@ -109,7 +109,7 @@ export class SpacebarServer extends Server {
this.app.use(BodyParser({ inflate: true, limit: "10mb" }));
const app = this.app;
const api = Router();
const api = Router({ mergeParams: true });
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore
this.app = api;