You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to proxy a vhost through whm and I am getting errors about Access-Control-Allow-Origin on hot-update.json. Found this issue on react-hot-loader. Is there something I need to add to the whm entry?
You might need to update whichever server is serving http://mywebsite.dev to include CORS headers.
As this module only provides middleware, it's up to the user to add CORS headers if needed into the middleware stack of the application. Adding it before adding the hot middleware should ensure that all relevant requests get the header. See https://github.com/expressjs/cors for more info.
I'm trying to proxy a vhost through whm and I am getting errors about Access-Control-Allow-Origin on hot-update.json. Found this issue on react-hot-loader. Is there something I need to add to the whm entry?
The text was updated successfully, but these errors were encountered: