aidenybai / aidenybai/react-grab

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

オープン
#156 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
TypeScript
スター
7.6k
フォーク
340
平均マージ
5時間 12分
マージ済み PR(30日)
6

説明

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

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。