fix: disable SSL verification and update proxy runtime to Node.js.

This commit is contained in:
kuekhaoyang
2025-11-28 21:26:40 +08:00
parent 132b775c4d
commit e0d965ea62
2 changed files with 10 additions and 4 deletions
+3
View File
@@ -3,6 +3,9 @@
* Handles timeouts and retries
*/
// Disable SSL verification for video sources with invalid certificates
process.env.NODE_TLS_REJECT_UNAUTHORIZED = '0';
const REQUEST_TIMEOUT = 15000;
const MAX_RETRIES = 3;
const RETRY_DELAY = 200;