aidenybai / aidenybai/react-grab

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

Offen
#156 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
TypeScript
Sterne
7.6k
Forks
340
Ø Merge
5 Std. 12 Min.
Gemergte PRs (30 T.)
6

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.