First of all thank you very much for this project.
Found it after hours of hair-pulling trying to set up qobuz player through a KVM windoze virtual machine just to get gapless playback.
The PR addresses a small issue I've encountered in my local setup when trying to use HTTPS through a reverse-proxy.
The websockets protocol was hardcoded to ws://, which when accessed through HTTPS will trigger a DOMException: The operation is insecure. error in the browser.
This is a simple fix to dynamically set the proper protocol: ws:// on plain HTTP, wss:// on HTTPS.
First of all thank you very much for this project.
Found it after hours of hair-pulling trying to set up qobuz player through a KVM windoze virtual machine just to get gapless playback.
The PR addresses a small issue I've encountered in my local setup when trying to use HTTPS through a reverse-proxy. The websockets protocol was hardcoded to
ws://
, which when accessed through HTTPS will trigger aDOMException: The operation is insecure.
error in the browser.This is a simple fix to dynamically set the proper protocol:
ws://
on plain HTTP,wss://
on HTTPS.