mirror of
https://github.com/khoj-ai/khoj.git
synced 2025-02-17 08:04:21 +00:00
Fix createRequestUrl method signature to fetch results from khoj web
This commit is contained in:
parent
212b1a96c8
commit
1773a78339
1 changed files with 1 additions and 1 deletions
|
@ -172,7 +172,7 @@
|
|||
});
|
||||
}
|
||||
|
||||
function createRequestUrl(query, results_count, type, rerank) {
|
||||
function createRequestUrl(query, type, results_count, rerank) {
|
||||
// Generate Backend API URL to execute Search
|
||||
let url = `/api/search?q=${encodeURIComponent(query)}&n=${results_count}&client=web`;
|
||||
// If type is not 'all', append type to URL
|
||||
|
|
Loading…
Add table
Reference in a new issue