EINDEX / logseq-copilot

Logseq Copilot is a Browser extension that allows you to access your Logseq via your browser.
https://logseq-copilot.eindex.me
GNU General Public License v3.0
266 stars 23 forks source link

Extension fails on SearXNG #73

Closed W-Floyd closed 4 months ago

W-Floyd commented 5 months ago

Describe the bug The extension fails to work on SearXNG sites.

To Reproduce Search anything on SearXNG sites. No Logseq results will appear.

Expected behavior Logseq results appear

Screenshots image

Desktop (please complete the following information):

Additional context

Uncaught (in promise) TypeError: Failed to construct 'URL': Invalid URL
    at SearX.getQuery (content-script.js:10350:28)
    at run (content-script.js:10460:33)
    at content-script.js:10476:22

Links to: https://github.com/EINDEX/logseq-copilot/blob/dfa101c690b28a91322f41ab5d83ac1b437e0494/src/pages/content/searchingEngines/searchingEngines.ts#L127-L134

EINDEX commented 4 months ago

Fix at Release https://github.com/EINDEX/logseq-copilot/releases/tag/v1.14.4