-
Notifications
You must be signed in to change notification settings - Fork 17
Access-Control-Allow-Origin erros using the send method #26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Would an extra parameter
This way you could also override some of the default headers like |
Yes, this will be fantastic! |
@PedroPMS I've prepared a MR for this change. Could you maybe help test it and check if it works for you? You'd have to check this standalone outside of phpwkthmltopdf, though. The new features:
|
Override and suppress auto-generated also worked very well. |
@PedroPMS I've released 1.2.1 containing this change. I've also opened a MR over at phpwkhtmltopdf: mikehaertl/phpwkhtmltopdf#367 As it's hard to test these things with phpunit, maybe you could help again? It would be great if you could comment on the issue there: mikehaertl/phpwkhtmltopdf#366 |
Hello,
I have been using this library as part of a project in conjunction with phpwkhtmltopdf library.
Whenever I use the send method after creating the pdf, a cors error occurs because there is no Access-Control-Allow-Origin header, an alternative would be interesting to be able to include some headers before the response to the client. The same to phpwkhtmltopdf.
The text was updated successfully, but these errors were encountered: