Add table-based legacy design

This commit is contained in:
Roscoe 2025-08-10 02:54:16 +01:00
commit 57bb0e03a3
Signed by: RoscoeDaWah
SSH key fingerprint: SHA256:Hqn452XQ1ETzUt/FthJu6+OFkS4NBxCv5VQSEvuk7CE
35 changed files with 886 additions and 526 deletions

View file

@ -26,3 +26,19 @@
Route::post('/guestbook', [GuestbookController::class, 'addEntry'])
->middleware('validator')
->middleware('rate_limit');
Route::get('/proxy/wah/{image}', function (string $image) {
$client = new \GuzzleHttp\Client();
$response = $client->request('GET', 'https://api.tinyfox.dev/hourly/wahs/'.$image);
return response($response->getBody())
->header('Content-Type', $response->getHeader('Content-Type'));
});
Route::get('/proxy/lastfm/{image}', function (string $image) {
$client = new \GuzzleHttp\Client();
$response = $client->request('GET', 'https://lastfm.freetls.fastly.net/i/u/174s/'.$image);
return response($response->getBody())
->header('Content-Type', $response->getHeader('Content-Type'));
});