---
This commit is contained in:
@ -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 } : {}),
|
||||
|
||||
Reference in New Issue
Block a user