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.
1 parent 664aea2 commit 8d951b4Copy full SHA for 8d951b4
README.md
@@ -27,7 +27,8 @@ service.start(3000)
27
{
28
// Optional restana library configuration (https://www.npmjs.com/package/restana#configuration)
29
restana: {},
30
- // Optional global middlewares (https://www.fastify.io/docs/latest/Middlewares/). Default value: []
+ // Optional global middlewares in the format: (req, res, next) => next()
31
+ // Default value: []
32
middlewares: [],
33
// Optional global value for routes "pathRegex". Default value: '/*'
34
pathRegex: '/*',
0 commit comments