Angular开发环境跨域代理配置

问题描述

API地址:

1
http://fastjee-gateway.com:5002/api/uc/info/{userId}

前端地址:

1
http://localhost:4200

为解决跨域问题, 我们希望在前端开发环境配置代理转发, 转发后的URL如下:

1
http://localhost:4200/uc/info/{userId}

Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×