Skip to content
This repository has been archived by the owner on Jan 20, 2021. It is now read-only.

Allow export of single function for routes.js file #4

Open
romaricpascal opened this issue Jul 24, 2020 · 0 comments
Open

Allow export of single function for routes.js file #4

romaricpascal opened this issue Jul 24, 2020 · 0 comments

Comments

@romaricpascal
Copy link
Owner

romaricpascal commented Jul 24, 2020

Currently, it only accepts an Array of functions, would be better to allow:

module.exports = function middleware() {
//...
}
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant