From d2b4e01d728e5d596574b4c7b5fb5af0d9e67fee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8E=AF=E5=87=9B?= Date: Tue, 7 Jul 2026 16:14:48 +0800 Subject: [PATCH] fix: use HTTPS for PowerOn --- action/PowerOn.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action/PowerOn.py b/action/PowerOn.py index d6df0ff..43c1bdc 100644 --- a/action/PowerOn.py +++ b/action/PowerOn.py @@ -39,7 +39,7 @@ def hello(): # 发送 POST 请求 # urllib3 的 body 参数在 httpx 中对应 content (用于二进制数据) r = httpx.post( - "http://at.sys-allnet.cn/net/initialize", content=encrypted, headers=headers + "https://at.sys-allnet.cn/net/initialize", content=encrypted, headers=headers ) # 检查响应状态码 (可选,但在 httpx 中推荐)