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

Origin null is not allowed by Access-Control-Allow-Origin. #2

Closed
scourgen opened this issue Jun 24, 2014 · 2 comments
Closed

Origin null is not allowed by Access-Control-Allow-Origin. #2

scourgen opened this issue Jun 24, 2014 · 2 comments

Comments

@scourgen
Copy link

When you visit a json file from another host name, Ajax will throw this kind of error.

@tsaikd
Copy link
Owner

tsaikd commented Jun 24, 2014

can you put a screenshot ?
or describe more detail operation

@scourgen
Copy link
Author

problem solved.

I'm using boot2docker on mac, What I did to solve the problem is that I add EXTRA_ARGS="--api-enable-cors" in this file: /var/lib/boot2docker/profile

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

2 participants