{"action":"created","issue":{"url":"https://api.github.com/repos/erikras/react-redux-universal-hot-example/issues/1114","repository_url":"https://api.github.com/repos/erikras/react-redux-universal-hot-example","labels_url":"https://api.github.com/repos/erikras/react-redux-universal-hot-example/issues/1114/labels{/name}","comments_url":"https://api.github.com/repos/erikras/react-redux-universal-hot-example/issues/1114/comments","events_url":"https://api.github.com/repos/erikras/react-redux-universal-hot-example/issues/1114/events","html_url":"https://github.com/erikras/react-redux-universal-hot-example/issues/1114","id":150388046,"number":1114,"title":"Websockets can't be disabled.","user":{"login":"OKNoah","id":3739277,"avatar_url":"https://avatars.githubusercontent.com/u/3739277?v=3","gravatar_id":"","url":"https://api.github.com/users/OKNoah","html_url":"https://github.com/OKNoah","followers_url":"https://api.github.com/users/OKNoah/followers","following_url":"https://api.github.com/users/OKNoah/following{/other_user}","gists_url":"https://api.github.com/users/OKNoah/gists{/gist_id}","starred_url":"https://api.github.com/users/OKNoah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OKNoah/subscriptions","organizations_url":"https://api.github.com/users/OKNoah/orgs","repos_url":"https://api.github.com/users/OKNoah/repos","events_url":"https://api.github.com/users/OKNoah/events{/privacy}","received_events_url":"https://api.github.com/users/OKNoah/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-04-22T14:44:31Z","updated_at":"2016-04-26T16:14:06Z","closed_at":null,"body":"It seems that setting \r\n\r\n```\r\nconst proxy = httpProxy.createProxyServer({\r\n  ws: false\r\n});\r\n```\r\n\r\nin `src/server.js` does not disable the websockets. The app keeps trying to make API calls to `localhost:3000/ws`. Is another step necessary to prevent this?"},"comment":{"url":"https://api.github.com/repos/erikras/react-redux-universal-hot-example/issues/comments/214798005","html_url":"https://github.com/erikras/react-redux-universal-hot-example/issues/1114#issuecomment-214798005","issue_url":"https://api.github.com/repos/erikras/react-redux-universal-hot-example/issues/1114","id":214798005,"user":{"login":"roof12","id":409745,"avatar_url":"https://avatars.githubusercontent.com/u/409745?v=3","gravatar_id":"","url":"https://api.github.com/users/roof12","html_url":"https://github.com/roof12","followers_url":"https://api.github.com/users/roof12/followers","following_url":"https://api.github.com/users/roof12/following{/other_user}","gists_url":"https://api.github.com/users/roof12/gists{/gist_id}","starred_url":"https://api.github.com/users/roof12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roof12/subscriptions","organizations_url":"https://api.github.com/users/roof12/orgs","repos_url":"https://api.github.com/users/roof12/repos","events_url":"https://api.github.com/users/roof12/events{/privacy}","received_events_url":"https://api.github.com/users/roof12/received_events","type":"User","site_admin":false},"created_at":"2016-04-26T16:14:06Z","updated_at":"2016-04-26T16:14:06Z","body":"Are you suggesting a single switch that enables and disables WebSockets? That is a good idea, but I doubt it will happen.\r\n\r\nThis project has been an immense help to me and, it appears, many others. However, the developers don't seem be interested in moving it towards a general purpose framework. So just change the code or cut out what you don't use.\r\n"}}