{"action":"closed","issue":{"url":"https://api.github.com/repos/angular-programming/issues/issues/5","repository_url":"https://api.github.com/repos/angular-programming/issues","labels_url":"https://api.github.com/repos/angular-programming/issues/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/angular-programming/issues/issues/5/comments","events_url":"https://api.github.com/repos/angular-programming/issues/issues/5/events","html_url":"https://github.com/angular-programming/issues/issues/5","id":209343679,"number":5,"title":"webpack的代理","user":{"login":"sunnut","id":6039631,"avatar_url":"https://avatars.githubusercontent.com/u/6039631?v=3","gravatar_id":"","url":"https://api.github.com/users/sunnut","html_url":"https://github.com/sunnut","followers_url":"https://api.github.com/users/sunnut/followers","following_url":"https://api.github.com/users/sunnut/following{/other_user}","gists_url":"https://api.github.com/users/sunnut/gists{/gist_id}","starred_url":"https://api.github.com/users/sunnut/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sunnut/subscriptions","organizations_url":"https://api.github.com/users/sunnut/orgs","repos_url":"https://api.github.com/users/sunnut/repos","events_url":"https://api.github.com/users/sunnut/events{/privacy}","received_events_url":"https://api.github.com/users/sunnut/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-02-22T03:40:54Z","updated_at":"2017-02-22T07:31:15Z","closed_at":"2017-02-22T07:31:15Z","body":"项目webpack编译打包后，放入服务器，想要代理生效怎么弄哈，下述代码貌似没生效，调用的接口是本地地址，是不是下述配置只对开发模式生效。\r\nproxy: {\r\n            '/api/*': {\r\n                target: 'http://localhost:8888',\r\n                secure: false\r\n            }\r\n        }"}}
{"actor":{"display_login":"sunnut"}}