mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 04:17:10 +02:00
Errors when GETting metrics without the feature gate
This commit is contained in:
parent
6196a53668
commit
cca6e47ec1
3 changed files with 4 additions and 6 deletions
|
@ -111,7 +111,7 @@ pub fn create_app(
|
|||
analytics.clone(),
|
||||
)
|
||||
})
|
||||
.configure(|cfg| routes::configure(cfg, opt.experimental_enable_metrics))
|
||||
.configure(routes::configure)
|
||||
.configure(|s| dashboard(s, enable_dashboard));
|
||||
|
||||
let app = app.wrap(actix_web::middleware::Condition::new(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue