summaryrefslogtreecommitdiff
path: root/pages
diff options
context:
space:
mode:
authorRaindropsSys <raindrops@equestria.dev>2024-02-29 20:30:14 +0100
committerRaindropsSys <raindrops@equestria.dev>2024-02-29 20:30:14 +0100
commit96eb5745754824a2a75698af4b60cc0a84c890ea (patch)
tree8b39f604d48f3fd49b3b8419033bf54a757d974e /pages
parent430245dc8511ed755081ce44e96b8b7dce7835bf (diff)
downloadpluralconnect-96eb5745754824a2a75698af4b60cc0a84c890ea.tar.gz
pluralconnect-96eb5745754824a2a75698af4b60cc0a84c890ea.tar.bz2
pluralconnect-96eb5745754824a2a75698af4b60cc0a84c890ea.zip
Updated 9 files (automated)
Diffstat (limited to 'pages')
-rw-r--r--pages/api/badger.php2
-rw-r--r--pages/api/violette.php2
-rw-r--r--pages/pair.inc4
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);