Closed corsair closed 6 months ago
Thank you for sharing the issue and your kind feedback.
It seems that routes are not being resolved during preflight requests. In the new release, I have added the necessary check.
I can confirm this has been resolved! π
Thank you for the swift response and resolution!
Before anything, bravo on an incredible package, and I am very excited to see it grow. π
Laravel V11.7.0 Octane V2.3.10 Laravel Top V1.0.1
There may be an issue with how the request event handling transpires with specific requests. Everything works as anticipated when accessing any route directly (via a web browser, for example). However, when attempting to access any routes via Axios or fetch (via Vue 3), the package results in the following error:
Subsequently, this results in the request failing prematurely, with no data returned. Upon removing the package, the previous requests can succeed as expected.
Here is an example of an axios request that normally works without the package installed:
If it may help, here are the other packages installed in this repository:
Cheers.