@gaurav7618 wrote:
When I try to load api response in ionic iframe it gives me Error : Uncaught (in promise): SecurityError: Failed to execute ‘open’ on ‘Document’: Can only call open() on same-origin documents. I have searched on many forums and it says api response header should allow any origin. I have already set this line of code “header(‘Access-Control-Allow-Origin: *’);” in api. But I am still getting above error. Please help
Posts: 1
Participants: 1