mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-07-09 03:04:20 -04:00
Fix meilisearch init
This commit is contained in:
parent
f03fbd42df
commit
0dd3a6190e
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user