diff --git a/frontends/desktop/static/app.js b/frontends/desktop/static/app.js index d9c5598b..91b567e3 100644 --- a/frontends/desktop/static/app.js +++ b/frontends/desktop/static/app.js @@ -11,7 +11,7 @@ const BRIDGE_PORT = 14168; const CONDUCTOR_PORT = 8900; const BRIDGE_ORIGIN = `${location.protocol}//${location.hostname}:${BRIDGE_PORT}`; const BRIDGE_WS_ORIGIN = `${location.protocol === 'https:' ? 'wss:' : 'ws:'}//${location.hostname}:${BRIDGE_PORT}`; -const CONDUCTOR_ORIGIN = `http://${location.hostname}:${CONDUCTOR_PORT}`; +const CONDUCTOR_ORIGIN = `${location.protocol}//${location.hostname}:${CONDUCTOR_PORT}`; const CONDUCTOR_WS_ORIGIN = `${location.protocol === 'https:' ? 'wss:' : 'ws:'}//${location.hostname}:${CONDUCTOR_PORT}`; /* ═══════════════ 进程状态 store ═══════════════ */ diff --git a/frontends/desktop/static/index.html b/frontends/desktop/static/index.html index ce929bfd..3439b365 100644 --- a/frontends/desktop/static/index.html +++ b/frontends/desktop/static/index.html @@ -569,6 +569,6 @@ - +