Skip to content

Deployment error  #3

Open
Open

Description

@Shivam-teotia

What are changes that we have to make in cors
After deployment frontend to netlify and backend to heroku.?

Activity

  1. rtewari056 commented on Oct 10, 2022

    @rtewari056

    What are changes that we have to make in cors After deployment frontend to netlify and backend to heroku.?

    app.use(cors({ origin: "<YOUR_FRONTEND_DEPLOYED_PROJECT_URL>" })); // Add this in line no 10 in index.js file inside server folder

  2. Proeditor07 commented on Sep 3, 2023

    @Proeditor07

    hey still i am getting those CROS and socket error. Have you deployed it successfully? Can you please guide me a little

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions