Skip to content

Proxy not working on Create React App #3502

@ranjiit12

Description

@ranjiit12

I am trying to configure two servers. Express and react. I was setting up the Google Auth with passport js and I needed to put the link on my react side of the app. For that, I used a proxy and it worked initially. However, after a day or it stopped working. I haven't made any significant change and tried doing all the stuff again and it does not work.
Here is the package.json of create-react-app, place where I want to use a proxy (relative link) and file strucute
proxy calling poin
. Express server is running on localhost:5000
file strucute
package json

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions