Skip to content

Commit 75a6985

Browse files
committed
fix: inject headers from adonis object
1 parent d111cea commit 75a6985

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/controllers/event_stream_controller.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ export default class EventStreamController {
2424
context: ctx,
2525
request: ctx.request.request,
2626
response: ctx.response.response,
27+
injectResponseHeaders: ctx.response.getHeaders(),
2728
})
2829

2930
return ctx.response.stream(stream)

0 commit comments

Comments
 (0)