英文:
Ng app with Proxy Config - Why ng serve not run Proxy file
问题
I add proxy config JSON file , but it's not work
我添加了代理配置JSON文件,但它不起作用
I don't see the NPM Proxy Logs ("proxy rewrite rule create...") in the run 'ng serve'
我在运行'ng serve'时看不到NPM代理日志("proxy rewrite rule create...")
I think that maybe because the my "Proxy config" file is in gray ?!
我认为可能是因为我的"代理配置"文件是灰色的?
Does anyone know of such a problem?
有人知道这样的问题吗?
proxy config file
代理配置文件
The my file is gray:
我的文件是灰色的:
英文:
I add proxy config JSON file , but it's not work
I don't see the NPM Proxy Logs ("proxy rewrite rule create...") in the run 'ng serve'
I think that maybe because the my "Proxy config"
file is in gray ?!
Does anyone know of such a problem?
proxy config file
答案1
得分: 0
我犯了一个错误,将路径中的Http写成了https。
看一看,也许你的路径中也有错误。
英文:
It turns out that I made a mistake in the Path and put Http instead of https.
Take a look, maybe you too have a mistake in the Path
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论