Skip to content

CORS issue for serverless-http #9

Description

@Slava-Ini

It seems that there is no way to properly set the CORS headers using serverless-http for netlify.
For the case with AWS it's possible to configure headers in serverless.yaml, but for netlify header config used in netlify.toml and _headers somehow gets overwritten by serverless-http, so after successful preflight, you would still get CORS error while sending request from other origin.

Activity

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