summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/util/util/lambert-server/Server.ts9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/util/util/lambert-server/Server.ts b/src/util/util/lambert-server/Server.ts

index ac45f206..7ef7e6b6 100644 --- a/src/util/util/lambert-server/Server.ts +++ b/src/util/util/lambert-server/Server.ts
@@ -12,15 +12,6 @@ export type ServerOptions = { app: Application; }; -// Overwrite default options for Router with default value true for mergeParams -const oldRouter = express.Router; -express.Router = function (options?: express.RouterOptions | undefined): Router { - if (!options) options = {}; - if (options.mergeParams == null) options.mergeParams = true; - - return oldRouter(options); -}; - export class Server { public app: Application; public http: HTTPServer;