mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-11-02 11:15:03 +03:00
f99c6c664d
The socket-front lookup filtered and extracted settings.fallbacks with SQLite's json_valid, JSON_TYPE and json_extract, which PostgreSQL does not have, so on PostgreSQL the statement failed and a legacy @socket child never got its front's address and security in its links. The lookup now selects the inbounds whose settings mention fallbacks and parses them in Go, which works on both databases and still skips an inbound whose settings do not decode.