A
A
Alikhan2022-02-02 08:17:30
React
Alikhan, 2022-02-02 08:17:30

"proxy" not working in package.json in React app. What to do?

I develop applications on React. Two ports are running, localhost:3000 (react) and localhost:8000 (backend).
React project's package.json file specified "proxy" : " localhost:8000 " but it doesn't work. It still sends requests to the frontend.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question