{"action":"created","issue":{"url":"https://api.github.com/repos/jedwards1211/crater/issues/8","repository_url":"https://api.github.com/repos/jedwards1211/crater","labels_url":"https://api.github.com/repos/jedwards1211/crater/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/jedwards1211/crater/issues/8/comments","events_url":"https://api.github.com/repos/jedwards1211/crater/issues/8/events","html_url":"https://github.com/jedwards1211/crater/issues/8","id":175146071,"number":8,"title":"Use WebApp.rawConnectHandlers instead of reverse proxy","user":{"login":"jedwards1211","id":1448194,"avatar_url":"https://avatars.githubusercontent.com/u/1448194?v=3","gravatar_id":"","url":"https://api.github.com/users/jedwards1211","html_url":"https://github.com/jedwards1211","followers_url":"https://api.github.com/users/jedwards1211/followers","following_url":"https://api.github.com/users/jedwards1211/following{/other_user}","gists_url":"https://api.github.com/users/jedwards1211/gists{/gist_id}","starred_url":"https://api.github.com/users/jedwards1211/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jedwards1211/subscriptions","organizations_url":"https://api.github.com/users/jedwards1211/orgs","repos_url":"https://api.github.com/users/jedwards1211/repos","events_url":"https://api.github.com/users/jedwards1211/events{/privacy}","received_events_url":"https://api.github.com/users/jedwards1211/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-06T02:04:42Z","updated_at":"2016-09-06T20:02:40Z","closed_at":"2016-09-06T20:02:40Z","body":"Reverse proxying is a waste of computation, I wasn't aware of `rawConnectHandlers` until now\r\n```js\r\n  // Packages and apps can add handlers that run before any other Meteor                                             //\r\n  // handlers via WebApp.rawConnectHandlers.                                                                         //\r\n  var rawConnectHandlers = connect();                                                                                // 596\r\n  app.use(rawConnectHandlers);  \r\n```"},"comment":{"url":"https://api.github.com/repos/jedwards1211/crater/issues/comments/245072321","html_url":"https://github.com/jedwards1211/crater/issues/8#issuecomment-245072321","issue_url":"https://api.github.com/repos/jedwards1211/crater/issues/8","id":245072321,"user":{"login":"jedwards1211","id":1448194,"avatar_url":"https://avatars.githubusercontent.com/u/1448194?v=3","gravatar_id":"","url":"https://api.github.com/users/jedwards1211","html_url":"https://github.com/jedwards1211","followers_url":"https://api.github.com/users/jedwards1211/followers","following_url":"https://api.github.com/users/jedwards1211/following{/other_user}","gists_url":"https://api.github.com/users/jedwards1211/gists{/gist_id}","starred_url":"https://api.github.com/users/jedwards1211/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jedwards1211/subscriptions","organizations_url":"https://api.github.com/users/jedwards1211/orgs","repos_url":"https://api.github.com/users/jedwards1211/repos","events_url":"https://api.github.com/users/jedwards1211/events{/privacy}","received_events_url":"https://api.github.com/users/jedwards1211/received_events","type":"User","site_admin":false},"created_at":"2016-09-06T20:02:39Z","updated_at":"2016-09-06T20:02:39Z","body":"Closed by #9; unfortunately I wasn't able to get `webpack-hot-middleware` working within `WebApp.rawConnectHandlers`, so in dev mode it still uses an Express server with reverse proxy to Meteor.  But in prod all of the custom server middleware runs within `rawConnectHandlers`."}}
{"actor":{"display_login":"jedwards1211"}}