diff --git a/app/View/Components/Wah.php b/app/View/Components/Wah.php index fdb4c23..fe3fd13 100644 --- a/app/View/Components/Wah.php +++ b/app/View/Components/Wah.php @@ -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 ""; } diff --git a/config/app.php b/config/app.php index a20d8e9..24f9283 100644 --- a/config/app.php +++ b/config/app.php @@ -5,7 +5,7 @@ return [ 'name' => env('APP_NAME', 'wah.moe'), - 'version' => '2025.08.30-patch2', + 'version' => '2026.01.09', 'env' => env('APP_ENV', 'production'), 'debug' => (bool) env('APP_DEBUG', false), 'url' => env('APP_URL', 'http://localhost'), diff --git a/resources/views/components/wah.blade.php b/resources/views/components/wah.blade.php index 105c9b7..2823dd6 100644 --- a/resources/views/components/wah.blade.php +++ b/resources/views/components/wah.blade.php @@ -9,4 +9,11 @@

Unable to retrieve image

@endif +@else +

Random Wah!

+ @if ($wah !== "") + Random image featuring a red panda + @else +

Unable to retrieve image

+ @endif @endif diff --git a/resources/views/home.blade.php b/resources/views/home.blade.php index 91184e5..faeb0fa 100644 --- a/resources/views/home.blade.php +++ b/resources/views/home.blade.php @@ -1,14 +1,16 @@ Home + @if(!isLegacy()) + @endif

Hi! This is my personal homepage on the World Wide Web.

@if(!isLegacy())
@endif -

Some quick facts about me:

+

Some quick facts about me: