EventSource's response has a MIME type ("text/html") that is not "text/event-stream". #870

Closed
opened 2025-08-09 17:17:59 +00:00 by fergalmoran · 0 comments
Owner

Originally created by @skorunka on 3/30/2017

Got this client side error while running application in Production mode:
"EventSource's response has a MIME type ("text/html") that is not "text/event-stream". Aborting the connection."

In "Development" mode, all works.

Any idea what's wrong?

I did no changes to webpack configs, except adding my dependencies.

*Originally created by @skorunka on 3/30/2017* Got this client side error while running application in Production mode: "EventSource's response has a MIME type ("text/html") that is not "text/event-stream". Aborting the connection." In "Development" mode, all works. Any idea what's wrong? I did no changes to webpack configs, except adding my dependencies.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/JavaScriptServices#870
No description provided.