Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix (dev): Cors middleware #2960

Merged

Conversation

Kuchenpirat
Copy link
Collaborator

What type of PR is this?

  • bug

What this PR does / why we need it:

I started to get a bunch of cors errors when using the dev instance. The frontend was pretty much no longer able to request anything from the backend. This adds a corse middleware to the FastAPI allowing traffic from localhost:3000

Which issue(s) this PR fixes:

None

Testing

Frontend does work again and no longer any errors.

@michael-genson michael-genson enabled auto-merge (squash) January 10, 2024 17:15
@michael-genson michael-genson merged commit 0bf09ad into mealie-recipes:mealie-next Jan 10, 2024
9 checks passed
@Kuchenpirat Kuchenpirat deleted the fix-cors-in-dev branch January 11, 2024 06:17
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.

2 participants