Create-React-App Proxy in Production Build

后端 未结 1 502

I\'m using create-react-app with an express backend. I have the backend running on port 3001, and the frontend runs through port 3000 when in dev mode. I have \"proxy\

相关标签:
1条回答
  • 2020-12-06 10:06

    The proxy feature isn't meant for production.

    This might help further explain: https://github.com/facebookincubator/create-react-app/issues/1087#issuecomment-262611096

    0 讨论(0)
提交回复
热议问题