mirror of
https://github.com/LibreQoE/LibreQoS.git
synced 2025-02-25 18:55:32 -06:00
Fixes issue with incorrect HTTPS detection for reverse proxies.
This commit is contained in:
parent
758035d864
commit
b06bd1cfbe
@ -2,7 +2,7 @@
|
||||
let ws = null;
|
||||
|
||||
export function ws_proto() {
|
||||
if (window.location.protocl === 'https') {
|
||||
if (window.location.protocol.startsWith('https')) {
|
||||
return "wss://";
|
||||
} else {
|
||||
return "ws://";
|
||||
|
Loading…
Reference in New Issue
Block a user