Skip to content
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

CORS issue #578

Closed
avblink opened this issue May 9, 2018 · 1 comment
Closed

CORS issue #578

avblink opened this issue May 9, 2018 · 1 comment

Comments

@avblink
Copy link

avblink commented May 9, 2018

Hi,

I am loading iFrame with the source from another domain.
There is Access-Control-Allow-Origin: * header
Both js files are included on the parent and iframe pages.

Getting this error:
Failed to execute ‘postMessage’ on ‘DOMWindow’: The target origin provided (‘https://veoliawatertechnologies.livevacancies.co.uk’) does not match the recipient window’s origin (‘https://localhost’).

Please help. Urgent.

Thank you very much

Alex

@avblink
Copy link
Author

avblink commented May 9, 2018

Overcame the problem with the following option: checkOrigin: false,

@avblink avblink closed this as completed May 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant