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

Figure out express.json() #5

Open
AydanPirani opened this issue Aug 10, 2023 · 1 comment
Open

Figure out express.json() #5

AydanPirani opened this issue Aug 10, 2023 · 1 comment
Labels
bug Something isn't working help wanted Extra attention is needed question Further information is requested
Milestone

Comments

@AydanPirani
Copy link
Collaborator

Prod: not using app.use(express.json()) means that we're unable to render request.body
Dev: using app.use(express.json()) causes a stream unreadable error.

Why does this happen? How do we unify these behavior without needing to check environment?

@AydanPirani AydanPirani transferred this issue from another repository Aug 11, 2023
@AydanPirani AydanPirani added bug Something isn't working help wanted Extra attention is needed question Further information is requested labels Sep 20, 2023
@AydanPirani AydanPirani added this to the Longetivity milestone Sep 20, 2023
@Timothy-Gonzalez
Copy link
Member

@AydanPirani was this solved with the recent changes?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed question Further information is requested
Projects
Development

No branches or pull requests

2 participants