From 85e3bd7f242b50b7f7a4e7213c9711047d8347c8 Mon Sep 17 00:00:00 2001 From: Claudio-Emmolo <113107618+Claudio-Emmolo@users.noreply.github.com> Date: Mon, 29 Jan 2024 17:25:53 +0100 Subject: [PATCH] Search Public API, fix api route --- src/searchPublicApi.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/searchPublicApi.js b/src/searchPublicApi.js index 0cbef32..2380565 100644 --- a/src/searchPublicApi.js +++ b/src/searchPublicApi.js @@ -110,7 +110,7 @@ function getArticles () { } function searchArticles (query) { - const results = fetch(`/api-internal/articles/fetch?q=${query}`, { + const results = fetch(`/vendor/the-3labs-team/laravel-search-public-api/articles/fetch?q=${query}`, { method: 'GET', headers: { 'Content-Type': 'application/json',