aidenybai / aidenybai/react-grab
Allow to use wss (websockets SSL) when localhost is running on SSL
Abierto
- Lenguaje dominante
- TypeScript
- Estrellas
- 7.6k
- Forks
- 340
- Merge medio
- 5 h 12 min
- PR fusionados (30 d)
- 6
Descripción
Hi,
We always run our local development servers behind SSL (mimics better production env) using localias with a self signed root CA.
Right now I noticed that the protocol is always `ws` (unsecure) instead of looking at the environment its running (using `window.location.protocol` to see if its `http:` or `https:`)
Regards
Guía de contribución
Evaluación
Este issue todavía no se ha evaluado.