{"action":"created","issue":{"url":"https://api.github.com/repos/angular/angular-cli/issues/889","repository_url":"https://api.github.com/repos/angular/angular-cli","labels_url":"https://api.github.com/repos/angular/angular-cli/issues/889/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular-cli/issues/889/comments","events_url":"https://api.github.com/repos/angular/angular-cli/issues/889/events","html_url":"https://github.com/angular/angular-cli/issues/889","id":156227614,"number":889,"title":"ng serve: support for proxy urls","user":{"login":"reppners","id":3855704,"avatar_url":"https://avatars.githubusercontent.com/u/3855704?v=3","gravatar_id":"","url":"https://api.github.com/users/reppners","html_url":"https://github.com/reppners","followers_url":"https://api.github.com/users/reppners/followers","following_url":"https://api.github.com/users/reppners/following{/other_user}","gists_url":"https://api.github.com/users/reppners/gists{/gist_id}","starred_url":"https://api.github.com/users/reppners/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reppners/subscriptions","organizations_url":"https://api.github.com/users/reppners/orgs","repos_url":"https://api.github.com/users/reppners/repos","events_url":"https://api.github.com/users/reppners/events{/privacy}","received_events_url":"https://api.github.com/users/reppners/received_events","type":"User","site_admin":false},"labels":[{"id":343381775,"url":"https://api.github.com/repos/angular/angular-cli/labels/command:%20serve","name":"command: serve","color":"c7def8","default":false},{"id":335686760,"url":"https://api.github.com/repos/angular/angular-cli/labels/effort:%20(2)%20medium","name":"effort: (2) medium","color":"bfe5bf","default":false},{"id":372202322,"url":"https://api.github.com/repos/angular/angular-cli/labels/priority:%203%20(nice%20to%20have)","name":"priority: 3 (nice to have)","color":"0052cc","default":false},{"id":292320537,"url":"https://api.github.com/repos/angular/angular-cli/labels/type:%20feature","name":"type: feature","color":"eeeeee","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":34,"created_at":"2016-05-23T08:40:04Z","updated_at":"2017-01-16T13:09:43Z","closed_at":"2016-08-23T01:48:55Z","body":"At development time our teem needs to proxy AJAX-requests with urls that match certain patterns/regexes to a different machine running the application backend.\n\nIs this use-case already covered but not yet documented by `ng serve`?\n\nIf not I would like to propose this as a feature:\n- pass an array of strings/regexes to `ng serve`\n- if any of those strings/regexes match the url of the request then proxy the request to a configurable ip/port\n\nIf this however is not in the scope of `ng serve`, what benefits would our team lose if we were NOT using `ng serve` in the dev-workflow at all?\n"},"comment":{"url":"https://api.github.com/repos/angular/angular-cli/issues/comments/272858115","html_url":"https://github.com/angular/angular-cli/issues/889#issuecomment-272858115","issue_url":"https://api.github.com/repos/angular/angular-cli/issues/889","id":272858115,"user":{"login":"chriseenberg","id":13994371,"avatar_url":"https://avatars.githubusercontent.com/u/13994371?v=3","gravatar_id":"","url":"https://api.github.com/users/chriseenberg","html_url":"https://github.com/chriseenberg","followers_url":"https://api.github.com/users/chriseenberg/followers","following_url":"https://api.github.com/users/chriseenberg/following{/other_user}","gists_url":"https://api.github.com/users/chriseenberg/gists{/gist_id}","starred_url":"https://api.github.com/users/chriseenberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chriseenberg/subscriptions","organizations_url":"https://api.github.com/users/chriseenberg/orgs","repos_url":"https://api.github.com/users/chriseenberg/repos","events_url":"https://api.github.com/users/chriseenberg/events{/privacy}","received_events_url":"https://api.github.com/users/chriseenberg/received_events","type":"User","site_admin":false},"created_at":"2017-01-16T13:09:43Z","updated_at":"2017-01-16T13:09:43Z","body":"For those looking, unable to get these proxy's to work, what did it for me was i forgot the http infront of localhost:8080\r\n\r\nHope this helps :)"}}
{"actor":{"display_login":"chriseenberg"}}