fix: use HTTPS for PowerOn

This commit is contained in:
2026-07-07 16:14:48 +08:00
parent 1fba026324
commit d2b4e01d72

View File

@@ -39,7 +39,7 @@ def hello():
# 发送 POST 请求 # 发送 POST 请求
# urllib3 的 body 参数在 httpx 中对应 content (用于二进制数据) # urllib3 的 body 参数在 httpx 中对应 content (用于二进制数据)
r = httpx.post( 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 中推荐) # 检查响应状态码 (可选,但在 httpx 中推荐)