Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support search api in webworker #605

Open
doompadee opened this issue Apr 24, 2024 · 0 comments
Open

Support search api in webworker #605

doompadee opened this issue Apr 24, 2024 · 0 comments

Comments

@doompadee
Copy link

I'm trying to use the search api in a webworker, but this currently fails due to a dependency on the window object.

Would it be feasible to add a way to provide the necessary location origin by other means? I haven't checked the whole code base. Maybe an optional parameter for the init() function would already be sufficient if setting the basePath is a one time operation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant