0wQ / air780e-forwarder

合宙Air780系列4G模组,短信转发,来电通知,Air724在这里 -> https://github.com/0wQ/air724ug-forwarder
MIT License
325 stars 69 forks source link

是否支持ipv6 http服务器 #62

Closed dbism closed 1 month ago

0wQ commented 2 months ago

支持,需自行修改下面代码

https://github.com/0wQ/air780e-forwarder/blob/45eb36838ec74bd011d9c638aa6a25a927c9780b/script/main.lua#L25-L26

-- 开启 IPv6
mobile.ipv6(true)

https://github.com/0wQ/air780e-forwarder/blob/45eb36838ec74bd011d9c638aa6a25a927c9780b/script/util_http.lua#L31

local opts = { timeout = timeout, ipv6 = true }