mirror of
https://github.com/hnhx/librex.git
synced 2025-04-29 14:09:27 -04:00
fixed the source for definition results
This commit is contained in:
parent
2905501d42
commit
82ecc9d62c
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@
|
||||||
{
|
{
|
||||||
$definition = $json_response[0]["meanings"][0]["definitions"][0]["definition"];
|
$definition = $json_response[0]["meanings"][0]["definitions"][0]["definition"];
|
||||||
|
|
||||||
$source = "https://en.wikipedia.org/wiki/$query";
|
$source = "https://dictionaryapi.dev";
|
||||||
return array(
|
return array(
|
||||||
"special_response" => array(
|
"special_response" => array(
|
||||||
"response" => $definition,
|
"response" => $definition,
|
||||||
|
|
Loading…
Add table
Reference in a new issue