fix: improve node filtering by client base_version, set subscription content-type, and add hop_interval support for hysteria2

- Refactor node filtering logic to correctly handle client base_version requirements.
- Set appropriate Content-Type header for subscription responses.
- Add support for hop_interval configuration in hysteria2 node delivery.
This commit is contained in:
xboard committed 2025-05-24 13:45:32 +08:00
1 parent 64e68d7d65
commit b271238094
12 files changed
+82 -29

No files matched your search

+1
View File
@@ -40,6 +40,7 @@ class ServerSave extends FormRequest
'tls.allow_insecure' => 'nullable|boolean',
'bandwidth.up' => 'nullable|integer',
'bandwidth.down' => 'nullable|integer',
'hop_interval' => 'integer|nullable',
],
'vless' => [
'tls' => 'required|integer',