Fixed localsearch integration

This commit is contained in:
squidfunk
2021-03-01 20:08:59 +01:00
parent 108100277c
commit eb35ab949c
9 changed files with 19 additions and 23 deletions

View File

@@ -84,10 +84,6 @@ interface MountOptions {
export function mountSearch(
el: HTMLElement, { index$, keyboard$ }: MountOptions
): Observable<Component<Search>> {
if (location.protocol === "file:")
return NEVER
/* Set up search worker */
const config = configuration()
const worker = setupSearchWorker(config.search, index$)