diff options
Diffstat (limited to 'includes/jobs')
-rw-r--r-- | includes/jobs/FrontersNotification.php | 6 | ||||
-rw-r--r-- | includes/jobs/RefreshCache.php | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/includes/jobs/FrontersNotification.php b/includes/jobs/FrontersNotification.php index 85a3216..888b640 100644 --- a/includes/jobs/FrontersNotification.php +++ b/includes/jobs/FrontersNotification.php @@ -66,7 +66,7 @@ if (count($fronters["members"]) > 1) { "Title: " . formatPonypush("🐴 Switch occurred in $name") . "\r\n" . "Priority: default\r\n" . "Tags: switch\r\n" . - "Actions: view, Open " . $fronters["members"][0]["display_name"] . " on Ponycule, https://ponies.equestria.horse/" . $fronters["members"][0]["name"] . "/, clear=true;view, Open " . $fronters["members"][1]["display_name"] . " on Cold Haze, https://ponies.equestria.horse/" . $fronters["members"][1]["name"] . "/, clear=true\r\n" . + "Actions: view, Open " . $fronters["members"][0]["display_name"] . " on Ponycule, https://ponycule.p.equestria.dev/" . $fronters["members"][0]["name"] . "/, clear=true;view, Open " . $fronters["members"][1]["display_name"] . " on Cold Haze, https://ponycule.p.equestria.dev/" . $fronters["members"][1]["name"] . "/, clear=true\r\n" . "Authorization: Basic " . base64_encode($ntfy["user"] . ":" . $ntfy["password"]), 'content' => formatPonypush(($fronters["members"][0]["display_name"] ?? $fronters["members"][0]["name"]) . " and " . ($fronters["members"][1]["display_name"] ?? $fronters["members"][1]["name"]) . " switched in just now") ] @@ -81,7 +81,7 @@ if (count($fronters["members"]) > 1) { "Title: " . formatPonypush("🐴 Switch occurred in $name") . "\r\n" . "Priority: default\r\n" . "Tags: switch\r\n" . - "Actions: view, Open on Ponycule, https://ponies.equestria.horse/" . $fronters["members"][0]["name"] . "/, clear=true\r\n" . + "Actions: view, Open on Ponycule, https://ponycule.p.equestria.dev/" . $fronters["members"][0]["name"] . "/, clear=true\r\n" . "Authorization: Basic " . base64_encode($ntfy["user"] . ":" . $ntfy["password"]), 'content' => formatPonypush(($fronters["members"][0]["display_name"] ?? $fronters["members"][0]["name"]) . " switched in just now") ] @@ -96,7 +96,7 @@ if (count($fronters["members"]) > 1) { "Title: " . formatPonypush("🐴 Switch occurred in $name") . "\r\n" . "Priority: default\r\n" . "Tags: switch\r\n" . - "Actions: view, Open on Ponycule, https://ponies.equestria.horse/, clear=true\r\n" . + "Actions: view, Open on Ponycule, https://ponycule.p.equestria.dev/, clear=true\r\n" . "Authorization: Basic " . base64_encode($ntfy["user"] . ":" . $ntfy["password"]), 'content' => formatPonypush("The fallback pony switched in just now") ] diff --git a/includes/jobs/RefreshCache.php b/includes/jobs/RefreshCache.php index 35e724a..5b4af13 100644 --- a/includes/jobs/RefreshCache.php +++ b/includes/jobs/RefreshCache.php @@ -22,7 +22,7 @@ $urls = [ foreach ($urls as $url) { echo(" " . $url . "\n"); - exec("nice -n 19 curl -k -H 'Host: ponies.equestria.horse' https://localhost" . $url); + exec("nice -n 19 curl -k -H 'Host: ponycule.p.equestria.dev' https://localhost" . $url); } echo("Refreshed cache\n");
\ No newline at end of file |