mirror of
https://github.com/zoriya/Kyoo.git
synced 2026-05-30 02:52:27 -04:00
Fix meilisearch init
This commit is contained in:
@@ -174,7 +174,9 @@ namespace Kyoo.Meiliseach
|
||||
_configuration.GetValue("MEILI_HOST", "http://meilisearch:7700"),
|
||||
_configuration.GetValue<string?>("MEILI_MASTER_KEY")
|
||||
)).SingleInstance();
|
||||
builder.RegisterType<SearchManager>().As<ISearchManager>().SingleInstance().AutoActivate();
|
||||
builder.RegisterType<SearchManager>().AsSelf().As<ISearchManager>()
|
||||
.SingleInstance()
|
||||
.AutoActivate();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user