Skip to content

Commit

Permalink
Merge pull request #25 from The-3Labs-Team/Search-Public-API,-fix-api…
Browse files Browse the repository at this point in the history
…-route

Search Public API, fix api route
  • Loading branch information
murdercode authored Feb 5, 2024
2 parents 1893f43 + 85e3bd7 commit 1ca1419
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/searchPublicApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 1ca1419

Please sign in to comment.