marcopeocchi / yt-dlp-web-ui

A terrible web ui and RPC server for yt-dlp. Designed to be self-hosted.
GNU General Public License v3.0
917 stars 94 forks source link

Fix WebSocket protocol detecton under HTTPS #37

Closed cnbeining closed 1 year ago

cnbeining commented 1 year ago

As title.

Fix Mixed Content: The page at 'https://blah.com/' was loaded over HTTPS, but attempted to connect to the insecure WebSocket endpoint 'ws://blah.com/ws-rpc'. This request has been blocked; this endpoint must be available over WSS. by detecting protocol.