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 with hot reloading #533

Open
averybross opened this issue Jun 20, 2018 · 0 comments
Open

CORS issue with hot reloading #533

averybross opened this issue Jun 20, 2018 · 0 comments

Comments

@averybross
Copy link

How can I add cors to this?

This wasn't happening before, but all of a sudden it is.... any ideas?

Failed to load http://10.1.5.151:3001/assets/75450b0e39ac42b3fc74.hot-update.json: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:3002' is therefore not allowed access.

and

handleError @ process-update.js:122
cb @ process-update.js:33
Promise.catch (async)
check @ process-update.js:70
module.exports @ process-update.js:28
processMessage @ client.js:228
handleMessage @ client.js:111
handleMessage @ client.js:74
bootstrap 75450b0e39ac42b3fc74:61 Uncaught (in promise) Error: Manifest request to //10.1.5.151:3001/assets/75450b0e39ac42b3fc74.hot-update.json timed out.
    at XMLHttpRequest.request.onreadystatechange (bootstrap 75450b0e39ac42b3fc74:61)
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