From 4bd43a9630249a2a5aed840ac67187527f847e4e Mon Sep 17 00:00:00 2001 From: q Date: Sun, 12 Feb 2023 01:16:04 -0500 Subject: [PATCH] Correct URL format --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index cd97006..83eab13 100644 --- a/index.js +++ b/index.js @@ -179,7 +179,7 @@ Searxng.prototype.handleMessage = function(event, room) { } - const searchURL = this.searxngInstance + "/searxng/search?category_images=1&pageno=1&time_range=&format=json&"+this.searxngParameters+"&safesearch="+(messagePieces[0] == unsafeImageSearchCmd ? "0" : "1")+"&q=" + toSearch; + const searchURL = this.searxngInstance + "/search?category_images=1&pageno=1&time_range=&format=json&"+this.searxngParameters+"&safesearch="+(messagePieces[0] == unsafeImageSearchCmd ? "0" : "1")+"&q=" + toSearch; this.matrixClient.sendTyping(room.roomId, true, 3000); const matrixClient = this.matrixClient; const uploadMatrixClient = this.uploadMatrixClient;