Talha345
Talha345
Merging branch!
Error still persists.
How did you solve this using custom callback! I am having the same issue and it is a pain.
UPDATE: Tested on some popular PDF related websites and the issue seems to be happening on all of them. Looks like it is a chrome PDF rendering related issue.
This has been fixed in the Chrome update so no need to add un-necessary bloat to your code.
@justin808 Could be but do you have any suggestion on how to deal with this scenario. I will try to explain my specific scenario in detail: 1. React SPA endpoint...
Solution for anyone having the same issue: 1. Added a after_action method in ApplicationController: ``` after_action :add_csrf_token_to_json_request_header private def add_csrf_token_to_json_request_header if request.format == :json && !request.get? && protect_against_forgery? response.headers['X-CSRF-Token'] =...
> Do you have `asset_path` set in deploy.yml? Yes, I have the following in my deploy.yml: `asset_path: /rails/public/assets`
Yes I think it is fixed. This can be closed.