Correct URL format

This commit is contained in:
q 2023-02-12 01:16:04 -05:00
parent b225e6d2a6
commit 4bd43a9630

View File

@ -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); this.matrixClient.sendTyping(room.roomId, true, 3000);
const matrixClient = this.matrixClient; const matrixClient = this.matrixClient;
const uploadMatrixClient = this.uploadMatrixClient; const uploadMatrixClient = this.uploadMatrixClient;