Open KilianB opened 1 year ago
I am attempting to use a non default content type "text/event-stream" and have a very hard time figuring out how to specify this.
The content type is taken from app.routes -> hooks.type, but how do you actually set this value? Can an example please be added to the documentation?
app.routes -> hooks.type
I am attempting to use a non default content type "text/event-stream" and have a very hard time figuring out how to specify this.
The content type is taken from
app.routes -> hooks.type
, but how do you actually set this value? Can an example please be added to the documentation?