mirror of
https://github.com/KuekHaoYang/KVideo.git
synced 2026-08-20 03:03:43 +08:00
fix: disable SSL verification and update proxy runtime to Node.js.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user