mirror of
https://github.com/usetrmnl/byos_laravel.git
synced 2026-01-14 15:37:53 +00:00
fix: lazy load catalog
This commit is contained in:
parent
be05a20df3
commit
418f0cb59f
3 changed files with 4 additions and 4 deletions
|
|
@ -22,7 +22,7 @@ new class extends Component {
|
|||
{
|
||||
try {
|
||||
$this->recipes = Cache::remember('trmnl_recipes_newest', 43200, function () {
|
||||
$response = Http::get('https://usetrmnl.com/recipes.json', [
|
||||
$response = Http::timeout(10)->get('https://usetrmnl.com/recipes.json', [
|
||||
'sort-by' => 'newest',
|
||||
]);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue