标签: node.js reactjs express heroku
我在Heroku上运行了一个带有Node Express.js后端的应用程序,它带有一个简单的API和一个React.js前端。请求代理到后端(myFunction() { console.log("I was called by: ", this.event.target); } )。
myFunction() { console.log("I was called by: ", this.event.target); }
但是当我从React ping API时,我收到以下错误:
http://localhost:5000
如何确保资源安全?