Update fun.py
Browse files
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:
|