{"action":"closed","issue":{"url":"https://api.github.com/repos/glenjamin/webpack-hot-middleware/issues/24","labels_url":"https://api.github.com/repos/glenjamin/webpack-hot-middleware/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/glenjamin/webpack-hot-middleware/issues/24/comments","events_url":"https://api.github.com/repos/glenjamin/webpack-hot-middleware/issues/24/events","html_url":"https://github.com/glenjamin/webpack-hot-middleware/issues/24","id":108124980,"number":24,"title":"The path in middleware options doesn't change path in client's options.","user":{"login":"ipselon","id":11865795,"avatar_url":"https://avatars.githubusercontent.com/u/11865795?v=3","gravatar_id":"","url":"https://api.github.com/users/ipselon","html_url":"https://github.com/ipselon","followers_url":"https://api.github.com/users/ipselon/followers","following_url":"https://api.github.com/users/ipselon/following{/other_user}","gists_url":"https://api.github.com/users/ipselon/gists{/gist_id}","starred_url":"https://api.github.com/users/ipselon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ipselon/subscriptions","organizations_url":"https://api.github.com/users/ipselon/orgs","repos_url":"https://api.github.com/users/ipselon/repos","events_url":"https://api.github.com/users/ipselon/events{/privacy}","received_events_url":"https://api.github.com/users/ipselon/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-24T13:00:12Z","updated_at":"2015-09-24T13:10:16Z","closed_at":"2015-09-24T13:10:16Z","body":"In order to use middleware in context path ```/desk```  I need to set options in that manner:\r\n```\r\napp.use(webpackHotMiddleware(compiler, {\r\n    log: console.log, path: '/desk/__webpack_hmr', heartbeat: 10 * 1000\r\n}));\r\n```\r\nBut client still try to connect to ```/__webpack_hmr```\r\n\r\nChanging hardcoded value in client.js to the proper one removed the error.\r\n```\r\nvar options = {\r\n  path: \"/desk/__webpack_hmr\",\r\n  timeout: 20 * 1000,\r\n  overlay: true,\r\n  reload: false\r\n};\r\n```\r\n\r\nCould this setting be translated to client somehow ?"}}