livecode icon indicating copy to clipboard operation
livecode copied to clipboard

Added a parameter that allows the upgrade of insecure requests

Open nareal opened this issue 1 year ago • 2 comments

This avoids the browser block of the websocket served through ws

CSP: upgrade-insecure-requests - HTTP | MDN

This is particularly useful when streaming to the outside world using a service like ngrok (see #8)

nareal avatar May 17 '23 08:05 nareal

With this PR, now I cannot see the serve locally, but it does work with ngrok. Is that expected?

Is there any downside to setting the default to TRUE?

eliocamp avatar May 17 '23 13:05 eliocamp

Yes, that is expected since locally the websocket is served through an insecure connection.

The downside is that it changes the default behaviour of the package.

nareal avatar May 18 '23 08:05 nareal