Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docusaurus/docs/using-https-in-development.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ sidebar_label: HTTPS in Development

You may require the dev server to serve pages over HTTPS. One particular case where this could be useful is when using [the "proxy" feature](proxying-api-requests-in-development.md) to proxy requests to an API server when that API server is itself serving HTTPS.

Another case is when connecting with secure websockets `wss` to a backend. Doing so from a non HTTPS page may slow down considerably the requests and consequently the development process.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Another case is when connecting with secure websockets `wss` to a backend. Doing so from a non HTTPS page may slow down considerably the requests and consequently the development process.
Another case is when connecting with secure websockets (aka `wss` - WebSocket Secure) to a backend. Doing so from a non-HTTPS page may slow down requests considerably, slowing down the whole development process.

Just rephrased this to make it a little clearer!


To do this, set the `HTTPS` environment variable to `true`, then start the dev server as usual with `npm start`:

### Windows (cmd.exe)
Expand Down