Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49258

Ionic iframe loading error

$
0
0

@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

Read full topic


Viewing all articles
Browse latest Browse all 49258

Trending Articles