Simplify your stack and build anything. Or everything.
Build tomorrow’s web with a modern solution you truly own.
Code-based nature means you can build on top of it to power anything.
It’s time to take back your content infrastructure.

Admin 'error' after proxy config

default discord avatar
notchr2 years ago
2

Hey all, started getting this error after changing my payload nginx config to server on /payload.



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


The odd thing is that seemingly nothing is broken, it just loops this message, I assume as it tries to connect to hmr?



Happy to provide more info.

  • discord user avatar
    denolfe
    2 years ago

    I can't say I've seen anything like this before. This is on app start or something else?



    We use webpack-hot-middleware that might communicate over a different port, would that make a difference for your nginx config?

  • default discord avatar
    notchr2 years ago

    Hmm possibly, looking into it now

Star on GitHub

Star

Chat on Discord

Discord

online

Can't find what you're looking for?

Get dedicated engineering support directly from the Payload team.