You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 5, 2021. It is now read-only.
I authorized all the "cors" in my Laravel Backend.
All my requests (axios) from Frontend (VUEJS) to Backend api (LARAVEL) works.
The configuration of cors works and I received all response from backend, except when I use lara-pdf-merger and call : $pdfMerger->save("test.pdf'", "download"); , the frontend receive immediatly the response :
Hello,
I authorized all the "cors" in my Laravel Backend.
All my requests (axios) from Frontend (VUEJS) to Backend api (LARAVEL) works.
The configuration of cors works and I received all response from backend, except when I use lara-pdf-merger and call : $pdfMerger->save("test.pdf'", "download"); , the frontend receive immediatly the response :
Access to XMLHttpRequest at 'http://back.test.fr/api/generatepdf' from origin 'http://front.test.fr' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
I don't understand why only this package don't work with cors ??? Is TCPDF or something else causing conflicts avec "cors" ?
Fabien
The text was updated successfully, but these errors were encountered: