Skip to content

Commit

Permalink
fix(express-session): fixes a typo in README (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
monaka authored and wbhob committed Sep 12, 2019
1 parent 077baf8 commit ffc7087
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/express-session/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import { ExpressSessionMiddleware } from '@nest-middlewares/express-session';
export class MyModule {
configure(consumer: MiddlewaresConsumer) {
// IMPORTANT! Call Middleware.configure BEFORE using it for routes
HelmetMiddleware.configure( /* options as per helmet docs */ )
ExpressSessionMiddleware.configure( /* options as per express-session docs */ )
consumer.apply(ExpressSessionMiddleware).forRoutes( /* your routes */ );
}
}
Expand Down

0 comments on commit ffc7087

Please sign in to comment.