-
I saw it mentoined somewhere that we could write a middleware helper (for expressjs middleware). in an express app that would be as simple as:
in mojojs i tried:
it seems that the request object is fine but the response object may cause problems. i get this errormessage:
i checked the mojo response object and there is no such thing as writeHead. how can i get the right response object? thank you |
Beta Was this translation helpful? Give feedback.
Answered by
kraih
Feb 10, 2023
Replies: 1 comment 3 replies
-
Express middleware support is still on the todo list i'm afraid. #66 |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
ndrswlkr
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Express middleware support is still on the todo list i'm afraid. #66