angular.js - angular reports an error after configuring proxy.conf.json, and the page returns 500internal server error?
漂亮男人
漂亮男人 2017-05-15 17:14:14
0
1
1053

After using --proxy-config to configure the proxy service, the page returns a 500 server error. How to solve it?

漂亮男人
漂亮男人

reply all(1)
过去多啦不再A梦

I have solved this problem!
After three days of research, there was no progress. Later, google搜了一下github上http-proxy-midlleware主页issue里面有个大神说过了window系统必须这样在proxy.conf.json写"target":"127.0.0.1:8888", using the local computer IP.
If you use localhost, an error will be reported.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template