protonemedia / laravel-cross-eloquent-search

Laravel package to search through multiple Eloquent models. Supports sorting, pagination, scoped queries, eager load relationships and searching through single or multiple columns.
https://protone.media/blog/search-through-multiple-eloquent-models-with-our-latest-laravel-package
MIT License
1.09k stars 80 forks source link

Question: Any insight as to why this package might cause CORS error #80

Open thecyrilcril opened 1 year ago

thecyrilcril commented 1 year ago

I have a Laravel 8.54 application. that uses sanctum for authentication. every time I pull in protonemedia/laravel-cross-eloquent-search I get cors errors on all api calls. I have installed every version from 3.0.1 to 2.6.0. The application throws no errors just the cors errors in the browser and once I remove the package the cors errors is gone. Any Insight on how to fix this?