Skip to content
Discussion options

You must be logged in to vote

I don't think it will. It only has effect in development.

Keep in mind that proxy only has effect in development (with npm start), and it is up to you to ensure that URLs like /api/todos point to the right thing in production. You don’t have to use the /api prefix. Any unrecognised request without a text/html accept header will be redirected to the specified proxy.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@SmitharyZach
Comment options

Answer selected by SmitharyZach
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant