fix: lazy load catalog

This commit is contained in:
Benjamin Nussbaum 2025-11-12 18:43:26 +01:00
parent 87a73046c5
commit b4d817bc84
3 changed files with 4 additions and 4 deletions

View file

@ -23,7 +23,7 @@ new class extends Component {
$this->catalogPlugins = Cache::remember('catalog_plugins', 43200, function () use ($catalogUrl) {
try {
$response = Http::get($catalogUrl);
$response = Http::timeout(10)->get($catalogUrl);
$catalogContent = $response->body();
$catalog = Yaml::parse($catalogContent);