How to use process.env.PORT in reactjs to fetch data in production build?

前端 未结 0 1491
逝去的感伤
逝去的感伤 2021-01-01 04:28

I got this code, where I am trying to fetch the data from database and it works on local host:

async function getLikedAnimations(username) { 
    const res =          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题