Spaces:
BG5
/
Running

BG5 commited on
Commit
76d0338
·
verified ·
1 Parent(s): cb68c3e

Update fun.py

Browse files
Files changed (1) hide show
  1. fun.py +1 -1
fun.py CHANGED
@@ -43,7 +43,7 @@ async def websocket_proxy(websocket: WebSocket, path: str):
43
  try:
44
  async with websockets.connect(
45
  target_url,
46
- headers={"Host": "127.0.0.1"}, # 关键修改
47
  ping_interval=20,
48
  ping_timeout=30
49
  ) as target_ws:
 
43
  try:
44
  async with websockets.connect(
45
  target_url,
46
+ # headers={"Host": "127.0.0.1"}, # 关键修改
47
  ping_interval=20,
48
  ping_timeout=30
49
  ) as target_ws: