aidenybai / aidenybai/react-grab

Allow to use wss (websockets SSL) when localhost is running on SSL

Aperta
#156 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
TypeScript
Stelle
7.6k
Fork
340
Merge medio
5h 12m
PR unite (30g)
6

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.