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: Add CORS Headers to HTTP error 500 responses #1843

Merged
merged 1 commit into from
Sep 26, 2024
Merged

Commits on Sep 26, 2024

  1. fix: Add CORS Headers to HTTP error 500 responses

    Internal server error respones result in no CORS ALLOW_ORIGIN headers
    added to the response. This leads to wrong handling by the frontend.
    When there are no CORS headers, status code was 0, which was treated as
    "Backend not reachable".
    
    There was already handling to add CORS headers, but it didn't add the
    ALLOW_ORIGIN header, which we add manually now.
    MoritzWeber0 committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    04af21b View commit details
    Browse the repository at this point in the history