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 #30

Closed
jeffotoni opened this issue Feb 28, 2023 · 1 comment · Fixed by #24
Closed

Cors #30

jeffotoni opened this issue Feb 28, 2023 · 1 comment · Fixed by #24
Labels
bug Something isn't working

Comments

@jeffotoni
Copy link
Owner

O cors precisa ser passado no Listen:

server := &http.Server{
Addr: addr,
Handler: cors,
}

infelizmente, então teremos que implementar algo mais inteligente e nativo, o cors é uma EXCEÇÃO dos middlewares.

image

@jeffotoni jeffotoni added the bug Something isn't working label Feb 28, 2023
@jeffotoni
Copy link
Owner Author

@rAndrade360

This was linked to pull requests Feb 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant