You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my vue3 project , I use vite to configure proxy cross-domain and change origin.
example: // localhost:3000/dev-api/users/me → http://vapi.youlai.tech/users/me
It is failed to use EventSourcePolyfill or EventSource for sse connection.
I am sure that server is working and server sent connection respond to internet .But browser could not receive the respond so that is waiting for connection , and google browser's status is pending.
I try to set withCredentials: true,but nothing change.How do I deal this question? Maybe question is existing browser. new EventSource(url, { withCredentials: false });
or new EventSourcePolyfill(url, { withCredentials: false });
url is /***/***/subcribe
The text was updated successfully, but these errors were encountered:
Hello Everyone, I'm facing the same issue of origin not being sent which results in CORS and I have no clue what is causing it. It works for most of the users, but there are cases where the origin is not being sent by the browser.
In my vue3 project , I use vite to configure proxy cross-domain and change origin.
example: // localhost:3000/dev-api/users/me → http://vapi.youlai.tech/users/me
It is failed to use EventSourcePolyfill or EventSource for sse connection.
I am sure that server is working and server sent connection respond to internet .But browser could not receive the respond so that is waiting for connection , and google browser's status is pending.
I try to set withCredentials: true,but nothing change.How do I deal this question? Maybe question is existing browser.
new EventSource(url, { withCredentials: false });
or
new EventSourcePolyfill(url, { withCredentials: false });
url is
/***/***/subcribe
The text was updated successfully, but these errors were encountered: