We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 62c7184 + 1233d23 commit fcc448bCopy full SHA for fcc448b
src/loaders/express.loader.ts
@@ -35,7 +35,7 @@ export class ExpressLoader extends AbstractLoader {
35
}
36
37
app.use(options.adminBroOptions.rootPath, router);
38
- this.reorderRoutes(app, options);980
+ this.reorderRoutes(app, options);
39
40
41
private reorderRoutes(app, options) {
@@ -75,7 +75,7 @@ export class ExpressLoader extends AbstractLoader {
75
)
76
77
// in other case if there is no corsIndex we go after expressInit, because right after that
78
- // there are nest endopoints.
+ // there are nest endpoints.
79
const expressInitIndex = app._router.stack.findIndex(
80
(layer: { name: string }) => layer.name === 'expressInit',
81
0 commit comments