diff options
Diffstat (limited to 'pages/api')
-rw-r--r-- | pages/api/badger.php | 2 | ||||
-rw-r--r-- | pages/api/violette.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/pages/api/badger.php b/pages/api/badger.php index ee7bfa7..d54e69f 100644 --- a/pages/api/badger.php +++ b/pages/api/badger.php @@ -47,6 +47,6 @@ die(json_encode(array_map(function ($i) { default => $i["_metadata"]["species"][0] . "_" . $i["_metadata"]["robot"] }, "age" => getAge($i["_metadata"]), - "avatar" => "https://ponies.equestria.horse" . getAsset($i["system"], $i["id"], "heads") + "avatar" => "https://ponycule.p.equestria.dev" . getAsset($i["system"], $i["id"], "heads") ]; }, $list), JSON_PRETTY_PRINT));
\ No newline at end of file diff --git a/pages/api/violette.php b/pages/api/violette.php index c1e3da8..1f6f4f0 100644 --- a/pages/api/violette.php +++ b/pages/api/violette.php @@ -12,7 +12,7 @@ $list = scoreOrder(json_decode(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/i $data["count"] = count($list); $data["ponies"] = array_values(array_filter(array_map(function ($i) { return [ - "url" => "https://ponies.equestria.horse" . getAsset("gdapd", $i["id"] ?? "", "heads"), + "url" => "https://ponycule.p.equestria.dev" . getAsset("gdapd", $i["id"] ?? "", "heads"), "label" => $i["display_name"] ?? $i["name"] ]; }, $list), function ($i) { |