mirror of
https://github.com/ItzCrazyKns/Perplexica.git
synced 2026-01-03 01:56:56 +00:00
Update searxng.ts
This commit is contained in:
@@ -1,4 +1,3 @@
|
|||||||
import axios from 'axios';
|
|
||||||
import { getSearxngURL } from './config/serverRegistry';
|
import { getSearxngURL } from './config/serverRegistry';
|
||||||
|
|
||||||
interface SearxngSearchOptions {
|
interface SearxngSearchOptions {
|
||||||
@@ -44,6 +43,6 @@ export const searchSearxng = async (
|
|||||||
|
|
||||||
const results: SearxngSearchResult[] = data.results;
|
const results: SearxngSearchResult[] = data.results;
|
||||||
const suggestions: string[] = data.suggestions;
|
const suggestions: string[] = data.suggestions;
|
||||||
|
|
||||||
return { results, suggestions };
|
return { results, suggestions };
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user