Add Wah images to legacy website
This commit is contained in:
parent
fdb0ee20b7
commit
adcc910c28
4 changed files with 16 additions and 4 deletions
|
|
@ -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 "";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue