Add Wah images to legacy website

This commit is contained in:
Roscoe 2026-01-09 00:59:40 +00:00
commit adcc910c28
Signed by: RoscoeDaWah
SSH key fingerprint: SHA256:Hqn452XQ1ETzUt/FthJu6+OFkS4NBxCv5VQSEvuk7CE
4 changed files with 16 additions and 4 deletions

View file

@ -23,7 +23,7 @@ public function getWah(): string {
$data = $response->json();
if ($data == null) return "";
$path = parse_url("https://api.tinyfox.dev" . $data["loc"], PHP_URL_PATH);
return "//".request()->getHttpHost()."/proxy/wah/".basename($path);
return "http://".request()->getHttpHost()."/proxy/wah/".basename($path);
} catch (Exception $ex) {
return "";
}