Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change middleware to middlewares in the config file #57

Closed
Akuket opened this issue Feb 25, 2020 · 1 comment
Closed

Change middleware to middlewares in the config file #57

Akuket opened this issue Feb 25, 2020 · 1 comment

Comments

@Akuket
Copy link
Contributor

Akuket commented Feb 25, 2020

The glob rules are defined to use middleware instead of middlewares like other rules :

resolvers:
      "{resolvers/**/*.js,*.resolver.js,resolver.js,*.resolvers.js,resolvers.js,resolvers/**/*.mjs,*.resolver.mjs,resolver.mjs,*.resolvers.mjs,resolvers.mjs,!(node_modules/**/**)}",
    middlewares:
      "{middleware/**/*.js,middleware/**/*.mjs,*.mw.mjs,,*.mw.js,!(node_modules/**/**)}"
@lymeo
Copy link
Owner

lymeo commented Feb 25, 2020

Middleware is already plural

@lymeo lymeo closed this as completed Feb 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants