diff options
Diffstat (limited to 'pages')
-rw-r--r-- | pages/api/badger.php | 2 | ||||
-rw-r--r-- | pages/api/violette.php | 2 | ||||
-rw-r--r-- | pages/pair.inc | 4 |
3 files changed, 4 insertions, 4 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) { diff --git a/pages/pair.inc b/pages/pair.inc index 42e70ef..3adc14f 100644 --- a/pages/pair.inc +++ b/pages/pair.inc @@ -96,7 +96,7 @@ require_once $_SERVER['DOCUMENT_ROOT'] . '/includes/components/header.inc'; glob } if (name.startsWith("Cold Haze for Wear OS ") || name.startsWith("Ponycule for Wear OS ")) { - return "https://static.equestria.horse/ch-wear.png"; + return "https://cdn.equestria.dev/ch-wear.png"; } return "/assets/logo/newlogo-ng.png"; @@ -104,7 +104,7 @@ require_once $_SERVER['DOCUMENT_ROOT'] . '/includes/components/header.inc'; glob (async () => { const token = await (await fetch("/api/token")).text(); - let ws = window.ws = new WebSocket("wss://ponies.equestria.horse/_PairingServices-WebSocket-EntryPoint/socket"); + let ws = window.ws = new WebSocket("wss://ponycule.p.equestria.dev/_PairingServices-WebSocket-EntryPoint/socket"); ws.onopen = (event) => { console.log(event); |