This commit is contained in:
2025-11-18 14:23:47 +08:00
parent 918a244b80
commit 20f0f2dfd2
3 changed files with 4 additions and 2 deletions

View File

@ -27,6 +27,7 @@ export function createProxy(list: ProxyList = []) {
target: target,
changeOrigin: true,
ws: true,
timeout: 600000,
rewrite: (path) => path.replace(new RegExp(`^${prefix}`), ''),
// https is require secure=false
...(isHttps ? { secure: false } : {}),