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

CORS #11

Open
BeroBurny opened this issue Jul 1, 2021 · 1 comment
Open

CORS #11

BeroBurny opened this issue Jul 1, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@BeroBurny
Copy link

After using a Nimbus beacon node find out that the server does not send CORS header
image
This header should be present and configurable via params (like the user can add some address to the CORS list).

@AuHau
Copy link
Member

AuHau commented Aug 7, 2024

To add to that, CORS is not only about "allowing origin", but the browser is doing preflight request check using OPTION request, where it also check for for allowed headers and methods. These are currently not possible to configure using presto.

We had to implement our own OPTION endpoint just to make CORS work: codex-storage/nim-codex#869

IMHO this should be handled on the framework level.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants