Closed stijns96 closed 3 years ago
You sent probability a request with no headers accept parameter.
The websocket intercept this request and enter in this error
We need probabily add :
let expectsHTML = false
if (Array.isArray(event.request.headers.get('accept')))
expectsHTML= event.request.headers.get('accept').includes('text/html')
to firebase-auth-sw.js template
Or you can find this request and add headers with accept parameter.
Closing due to inactivity.
Hi all,
I'm getting this error...
Also i'm getting a red cross after my sw.js
I am trying to create a ssr pwa with firebase auth and basically everything works, but I really wonder why I am getting these errors. In my opinion, errors are never good and I cannot find anything about them on the internet.
Is anyone familiar with this? Please let me know if info or code is required!