This commit is contained in:
NoLogicAlan committed 2026-09-16 04:01:08 +03:00
1 parent 200e327ec7
commit 34dc71fc69
4 files changed
+66 -4

No files matched your search

+6
View File
@@ -34,6 +34,12 @@ import { logger } from "../../core/Logger.mjs";
* @param {number} [section.port=0] - Proxy listen port (0 = ephemeral).
* @param {string} [section.advertiseHost] - Host the audio node uses to
* reach the proxy when it runs on another machine/container.
* @param {string} [section.remoteProxy] - Base URL of a remote HTTPS
* header-proxy (e.g. a Cloudflare Worker). When set together with
* remoteSecret, signed URLs point there and the local proxy never starts —
* for deployments where the audio node cannot reach the bot host.
* @param {string} [section.remoteSecret] - Shared HMAC secret the remote
* proxy verifies signed URLs with (required with remoteProxy).
*/
export function configureBilibili(section = {}) {
configureBilibiliProxy(section);