Skip to content

Commit fcc448b

Browse files
committed
Merge branch 'feat/custom-loader' of github.com:SoftwareBrothers/admin-bro-nestjs into feat/custom-loader
2 parents 62c7184 + 1233d23 commit fcc448b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/loaders/express.loader.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export class ExpressLoader extends AbstractLoader {
3535
}
3636

3737
app.use(options.adminBroOptions.rootPath, router);
38-
this.reorderRoutes(app, options);980
38+
this.reorderRoutes(app, options);
3939
}
4040

4141
private reorderRoutes(app, options) {
@@ -75,7 +75,7 @@ export class ExpressLoader extends AbstractLoader {
7575
)
7676

7777
// in other case if there is no corsIndex we go after expressInit, because right after that
78-
// there are nest endopoints.
78+
// there are nest endpoints.
7979
const expressInitIndex = app._router.stack.findIndex(
8080
(layer: { name: string }) => layer.name === 'expressInit',
8181
)

0 commit comments

Comments
 (0)