mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-02 21:19:12 +00:00
Fix createRequestUrl method signature to fetch results from khoj web
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user