mirror of
https://github.com/spacebarchat/server.git
synced 2026-08-26 02:39:51 +00:00
Pass mergeParams: true to new router calls due to express behavior change
This commit is contained in:
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user