首页 新闻 会员 周边

.net core react 发布到apache

0
悬赏园豆:5 [已关闭问题] 关闭于 2021-01-08 13:53

.net core react 发布到apache后使用fetch发生找不到错误。
await fetch(【相对路径,访问api】)
.then(response => response.json())
.then(res => console.log(res))
.catch(error => console.log(error));
本地运行正常。发布到apache需要改什么路径吗?

熊猫~·的主页 熊猫~· | 初学一级 | 园豆:188
提问于:2020-12-24 10:54
< >
分享
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册