You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected behavior
App should starts normally.
the expectation is : if an external plugin has a middleware declared in config/middlewares.js, if that external plugin is disabled, the middleware of the plugin should not be automatically added...
Environment (please complete the following information):
OS: MacOS Ventura 13.0
Browser: Chrome
Strapi: v4.4.5
strapi-prometheus: 1.1.1
The text was updated successfully, but these errors were encountered:
@lrasata I made some changes. The middleware is now injected automatically when the plugin is loaded, so you don't need to manually add it to your middleware.js this also prevents your error of middleware not found from happening whenever the plugin is disabled.
Upgrade to version 1.2.0 for these changes to take effect.
@lrasata I made some changes. The middleware is now injected automatically when the plugin is loaded, so you don't need to manually add it to your middleware.js this also prevents your error of middleware not found from happening whenever the plugin is disabled.
Upgrade to version 1.2.0 for these changes to take effect.
Describe the bug
When strapi-prometheus plugin is disabled and strapi-prometheus.metrics middleware has been added, strapi app doesnt start
To Reproduce
Steps to reproduce the behavior:
config/plugins.js
as shown hereenabled
attribute tofalse
forstrapi-prometheus
plugin::strapi-prometheus.metrics
inconfig/middlewares.js
yarn develop
Actuall outcome in logs
Expected behavior
App should starts normally.
the expectation is : if an external plugin has a middleware declared in
config/middlewares.js
, if that external plugin is disabled, the middleware of the plugin should not be automatically added...Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: