Skip to content
Snippets Groups Projects
Commit 0092cf7f authored by Phil Höfer's avatar Phil Höfer
Browse files

Update app/Http/Controllers/SearxProxy.php

parent 41ae2fe2
No related branches found
No related tags found
1 merge request!3Development
Pipeline #5710 passed
......@@ -22,7 +22,7 @@ class SearxProxy extends Controller
curl_close($ch);
if(json_decode($response) !== null){
return response()->json(['hostname' => $host, json_decode($response)]);
return response()->json(['hostname' => $host, 'results' => json_decode($response)]);
}else {
throw new \Exception('invalid response');
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment