forked from Fragrance/eaquira
fix: use HTTPS for PowerOn
This commit is contained in:
@@ -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 中推荐)
|
||||
|
||||
Reference in New Issue
Block a user