create-react-app设置proxy代理报错500 Internal Server Error
最近练手饿了么 但是在请求的时候却出现了问题 Proxy error: Could not proxy request /ele_api/shopping/v2/entries?latitude=39.992408&longitude=116.339299&templates[]=big_sale_promotion_template from localhost:3000 to https://h5.ele.me/restapi (undefined).
proxy配置是在package.json下设置的 "proxy": { “ele_api”: { “target”:“https://h5.ele.me/restapi”, “secure”: “false” } }