This only happens when using the nuxt development proxy (i.e. : when running “npm run dev” to enable the hot reload experience on http://localhost:3000). If I run “npm run build” and then browse to http://localhost:5000, the server events client connects as expected:
If I take a look at the response from the server events connection I can see that this is normal on http://localhost:5000 :
I spoke too soon - I received a stream of “connection refused” errors, and (assuming that it was CORS-related), I enabled the CORS Feature…now I am seeing empty responses (only when browsing on http://localhost:3000)
I’m now getting a CORS-related issue, despite having the CORS Feature enabled (with default configuration). Is there a quick answer to why that would be happening?