Closed nulluser0 closed 2 months ago
Upon further exploration, I realized that the expire
field is present only when expiration date and data limit are both set. When one or both are not, the expire
field disappears.
Is this intended?
this is fixed on dev branch, check dev version
Describe the bug The
expire
field is not present insubscription-userinfo
headers forsing-box
subscriptions in users with data limits.To Reproduce Steps to reproduce the behavior:
GET (subscription url), accept application/json
with user agent set asHiddifyNext
(or add/sing-box
).expire
field is absent fromsubscription-userinfo
.Expected behavior For users with data limits, there should be an
expire
field insubscription-userinfo
. Lack of this means clients (like Hiddify Next) cannot show user their data usage.Screenshots N/A
Machine details (please complete the following information): Client:
Windows 11 23H2
N/A
N/A
129.0.2
Server:
Ubuntu-22.04-x86_64
v0.6.0
on Dockerv1.8.23
Additional context N/A