Skip to content

Fixed CORS issue between Netlify frontend and backend API#7

Open
krishnanautiyal wants to merge 2 commits into
amand33p:masterfrom
krishnanautiyal:fix-cors-config
Open

Fixed CORS issue between Netlify frontend and backend API#7
krishnanautiyal wants to merge 2 commits into
amand33p:masterfrom
krishnanautiyal:fix-cors-config

Conversation

@krishnanautiyal

Copy link
Copy Markdown

The PR fixes a CORS issue that was preventing the Netlify hosted frontend from fetching data from the backend API hosted on Heroku.

The backend CORS configuration has been updated to explicitly allow the Netlify frontend origin, ensuring that browser requests are no longer blocked in production.

Fixes #6

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CORS error when Netlify frontend calls backend API

1 participant