📜  POST http: localhost:3000 $(process.env.REACT_APP_API_URL) auth users 404 (Not Found) in react redux - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:01:34.381000             🧑  作者: Mango

代码示例1
window.axios.defaults.baseURL = (process.env.NODE_ENV !== 'production') ? 'your production server url' : 'http://localhost:5000/';