Skip to content

Commit

Permalink
feat: register middleware
Browse files Browse the repository at this point in the history
  • Loading branch information
thetutlage committed Aug 22, 2023
1 parent 23a51bf commit 10fc5ea
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions configure.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,15 @@ export async function configure(command: Configure) {
leadingComment: 'Variables for configuring session package',
})

/**
* Register middleware
*/
await codemods.registerMiddleware('router', [
{
path: '@adonisjs/session/session_middleware',
},
])

/**
* Register provider
*/
Expand Down

0 comments on commit 10fc5ea

Please sign in to comment.