mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-08-09 16:33:58 +08:00
Merge manually
This commit is contained in:
@@ -19,6 +19,10 @@ const sslKeyPassphrase = args["ssl-key-passphrase"] || process.env.UPTIME_KUMA_S
|
||||
|
||||
const isSSL = sslKey && sslCert;
|
||||
|
||||
/**
|
||||
* Get the local WebSocket URL
|
||||
* @returns {string} The local WebSocket URL
|
||||
*/
|
||||
function getLocalWebSocketURL() {
|
||||
const protocol = isSSL ? "wss" : "ws";
|
||||
const host = hostname || "localhost";
|
||||
|
Reference in New Issue
Block a user