mirror of
https://github.com/pirate/ArchiveBox.git
synced 2025-08-20 21:32:06 +02:00
totally ignore sonic unless its the selected search backend
This commit is contained in:
@@ -120,7 +120,7 @@ class SonicSearchPlugin(BasePlugin):
|
|||||||
|
|
||||||
hooks: List[InstanceOf[BaseHook]] = [
|
hooks: List[InstanceOf[BaseHook]] = [
|
||||||
SONIC_CONFIG,
|
SONIC_CONFIG,
|
||||||
*([SONIC_BINARY] if (SEARCH_BACKEND_CONFIG.SEARCH_BACKEND_ENGINE == 'sonic' or SONIC_LIB) else []),
|
*([SONIC_BINARY] if (SEARCH_BACKEND_CONFIG.SEARCH_BACKEND_ENGINE == 'sonic') else []),
|
||||||
SONIC_SEARCH_BACKEND,
|
SONIC_SEARCH_BACKEND,
|
||||||
]
|
]
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user